{"id":25840189,"url":"https://github.com/margual56/adf-cli","last_synced_at":"2026-06-09T06:04:43.672Z","repository":{"id":251348011,"uuid":"836328308","full_name":"margual56/adf-cli","owner":"margual56","description":"A simple program to interact with ADF from the CLI","archived":false,"fork":false,"pushed_at":"2025-02-26T11:24:12.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T11:32:25.463Z","etag":null,"topics":["adf","azure-data-factory","cli","cli-app","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/margual56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T16:02:09.000Z","updated_at":"2025-02-26T11:20:56.000Z","dependencies_parsed_at":"2025-02-17T17:38:28.733Z","dependency_job_id":null,"html_url":"https://github.com/margual56/adf-cli","commit_stats":null,"previous_names":["margual56/adf-cli"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margual56%2Fadf-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margual56%2Fadf-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margual56%2Fadf-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margual56%2Fadf-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/margual56","download_url":"https://codeload.github.com/margual56/adf-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241317596,"owners_count":19943201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adf","azure-data-factory","cli","cli-app","golang"],"created_at":"2025-03-01T04:40:53.627Z","updated_at":"2026-06-09T06:04:43.621Z","avatar_url":"https://github.com/margual56.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adf-cli\n\n## Installation\n\n```bash\ngo install github.com/margual56/adf-cli\n```\n\n## Usage\n```bash\n\u003e adf-cli -h\nWith this CLI you can manage triggers from a factory in Azure Data Factory. More features will be added in the future.\n\nUsage:\n  adf-cli [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  trigger\n\nFlags:\n      --factoryName string         The factory name.\n  -h, --help                       help for adf-cli\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n\nUse \"adf-cli [command] --help\" for more information about a command.\n```\n\n## Commands\n\n### Trigger\n\n```bash\n\u003e adf-cli trigger -h\nUsage:\n  adf-cli trigger [flags]\n  adf-cli trigger [command]\n\nAvailable Commands:\n  get         Display the properties of a trigger by name.\n  list        List all triggers in a factory.\n  start       Start a trigger in a data factory.\n  stop        Stop a trigger in a data factory.\n\nFlags:\n  -h, --help   help for trigger\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n\nUse \"adf-cli trigger [command] --help\" for more information about a command.\n```\n\n#### List\n\n```bash\n\u003e adf-cli trigger list -h\nList all triggers in a factory.\n\nUsage:\n  adf-cli trigger list [flags]\n\nFlags:\n  -h, --help   help for list\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n#### Get\n\n```bash\n\u003e adf-cli trigger get -h\nDisplay the properties of a trigger by name.\n\nUsage:\n  adf-cli trigger get \u003ctriggerName\u003e [flags]\n\nFlags:\n  -h, --help   help for get\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n#### Start\n\n```bash\n\u003e adf-cli trigger start -h\nStart a trigger in a data factory.\n\nUsage:\n  adf-cli trigger start \u003ctriggerName\u003e [flags]\n\nFlags:\n  -h, --help   help for start\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n#### Stop\n\n```bash\n\u003e adf-cli trigger stop -h\nStop a trigger in a data factory.\n\nUsage:\n  adf-cli trigger stop \u003ctriggerName\u003e [flags]\n\nFlags:\n  -h, --help   help for stop\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n### Parameters\n\n```bash\n\u003e adf-cli parameter -h\nUsage:\n  adf-cli param [command] [flags]\n  adf-cli param [command]\n\nAvailable Commands:\n  list        List all global parameters from a factory\n  update      Update a global parameter in a data factory\n\nFlags:\n  -h, --help   help for param\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n\nUse \"adf-cli param [command] --help\" for more information about a command.\n```\n\n#### List\n\n```bash\n\u003e adf-cli parameter list -h\nList all global parameters from a factory\n\nUsage:\n  adf-cli param list \u003cglobalParameterName\u003e [flags]\n\nFlags:\n  -h, --help   help for list\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n#### Update\n\n```bash\n\u003e adf-cli parameter update -h\nCreate or update a global parameter in a data factory\n\nUsage:\n  adf-cli param update \u003cglobalParameterName\u003e [flags]\n\nFlags:\n      --group string   The group the parameter belongs to (default \"default\")\n  -h, --help           help for update\n      --type string    The type of the parameter (default \"string\")\n      --value string   The value of the parameter\n\nGlobal Flags:\n      --factoryName string         The factory name.\n      --resourceGroupName string   The resource group name.\n      --subscriptionId string      The subscription identifier.\n```\n\n\n## Configuration\n\nThe CLI uses the Azure SDK for Go to interact with the Azure Data Factory service. The SDK requires the following environment variables to be set:\n\n- AZURE_CLIENT_ID\n- AZURE_CLIENT_SECRET\n- AZURE_TENANT_ID\n\n\nYou can also set the flags factoryName, resourceGroupName, and subscriptionId as environment variables:\n```bash\nFACTORY_NAME=your-factory-name\nRESOURCE_GROUP_NAME=your-resource-group-name\nSUBSCRIPTION_ID=your-subscription-id\n```\n\n## Roadmap\n\n- [ ] Add operations for triggers.\n  - [x] Get a trigger\n  - [x] List Triggers By Factory\n  - [x] Start a trigger\n  - [x] Stop a trigger\n  - [ ] Create or Update\n  - [ ] Delete\n  - [ ] Get Event Subscription Status\n  - [ ] Query By Factory\n  - [ ] Subscribe To Events\n  - [ ] Unsubscribe From Events\n  - [ ] Cancel a single trigger run by runId\n  - [ ] Query Trigger Runs By Factory\n  - [ ] Rerun a single trigger run by runId\n- [ ] Add operations for Global Parameters\n  - [x] Create or Update\n  - [ ] Delete\n  - [x] Get\n  - [x] List By Factory\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargual56%2Fadf-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmargual56%2Fadf-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargual56%2Fadf-cli/lists"}