{"id":22371915,"url":"https://github.com/patrickcping/davinci-pingcli","last_synced_at":"2025-03-26T17:17:23.675Z","repository":{"id":264041930,"uuid":"892181377","full_name":"patrickcping/davinci-pingcli","owner":"patrickcping","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T12:00:16.000Z","size":86,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T12:39:41.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickcping.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-11-21T16:41:22.000Z","updated_at":"2025-02-24T11:56:24.000Z","dependencies_parsed_at":"2025-01-27T12:39:19.114Z","dependency_job_id":null,"html_url":"https://github.com/patrickcping/davinci-pingcli","commit_stats":null,"previous_names":["patrickcping/davinci-pingcli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickcping%2Fdavinci-pingcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickcping%2Fdavinci-pingcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickcping%2Fdavinci-pingcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickcping%2Fdavinci-pingcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickcping","download_url":"https://codeload.github.com/patrickcping/davinci-pingcli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699262,"owners_count":20657987,"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":[],"created_at":"2024-12-04T20:31:19.821Z","updated_at":"2025-03-26T17:17:23.651Z","avatar_url":"https://github.com/patrickcping.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# davinci-pingcli\n\n## Install\n\nOnly Homebrew is supported initially, for other methods of install please [raise an issue](https://github.com/patrickcping/davinci-pingcli/issues/new?title=New%20installation%20method%20required).\n\n### Homebrew\n\n```shell\nbrew tap patrickcping/davinci-pingcli\nbrew install davinci-pingcli\n```\n\nTest the installation with:\n\n```shell\ndavinci-pingcli --help\n```\n\n## Using `--help`\n\nHelp can found by using the `--help` / `-h` parameter for any command.\n\nExamples:\n\n```shell\ndavinci-pingcli flows list --help\n```\n\n## Return Codes\n\nThe `davinci-pingcli flows list ...` command will return the following return status codes along with a text description of the validation issues:\n\n- `0` - Successful command, no warnings\n- `1` - Unsuccessful (errored) command\n\n## Logging\n\nThe logging level can be set using the `DAVINCI_PINGCLI_LOG` environment variable.  The possible values that can be set are `DEBUG`, `INFO`, `WARN`, `ERROR` and `NOLEVEL`.  By default, extra log output is disabled.\n\nA log file can be created using the `DAVINCI_PINGCLI_PATH` environment variable.  This redirects the log output to a file of choice.  If not set, the debug output will be printed alongside the command output (stdout).\n\nThe following example logs debug output to the file called `davinci-pingcli.log`:\n```shell\nDAVINCI_PINGCLI_LOG=DEBUG DAVINCI_PINGCLI_PATH=`pwd`/davinci-pingcli.log davinci-pingcli flows list\n```\n\n## Configuration File\n\nThe parameters described above can be configured in a static configuration file, expected to be named `.davinci-pingcli.yaml` in the same directory that the CLI tool is run.  The following describe the properties that can be set, and an example can be found at [./davinci-pingcli.example](./blob/main/.davinci-pingcli.example)\n\n#### General Properties\n\nThe following are configuration file settings for the commands.\n\n| Config File Property | Environment Variable | Type          | Equivalent Parameter        | Purpose                                                               |\n|----------------------|---------------|---------------|-----------------------------|-----------------------------------------------------------------------|\n| `username`     | `PINGCLI_DAVINCI_USERNAME` | string  | `--username` / `-u` | The admin username used to connect to DaVinci.                             |\n| `password`     | `PINGCLI_DAVINCI_PASSWORD` | string  | `--password` / `-p` | The admin password used to connect to DaVinci.                             |\n| `adminEnvironmentId`     | `PINGCLI_DAVINCI_ADMIN_ENVIRONMENT_ID` | UUID  | `--admin-environment-id` / `-e` | The PingOne environment ID that contains the admin user.                             |\n| `environmentId`     | `PINGCLI_DAVINCI_ENVIRONMENT_ID` | UUID  | `--environment-id` / `-t` | The PingOne environment ID to control configuration for.                             |\n| `region`     | `PINGCLI_DAVINCI_REGION` | string  | `--region` / `-r` | The region where the PingOne environment is located.  Options are `AsiaPacific`, `Canada`, `Europe` and `NorthAmerica`.                             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickcping%2Fdavinci-pingcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickcping%2Fdavinci-pingcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickcping%2Fdavinci-pingcli/lists"}