Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcncloud/opcli
https://github.com/tcncloud/opcli
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tcncloud/opcli
- Owner: tcncloud
- Created: 2021-11-29T20:15:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T23:18:54.000Z (over 1 year ago)
- Last Synced: 2023-05-04T00:56:44.415Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Operator's command line interface
This is the [TCN](https://www.tcn.com)'s [Operator](https://operator.tcn.com) command line interface that can be used to create fast and simple integrations.## Implmented commands
`auth login` - this command will open a browser that will initiate an authentication process and will save a token to disk `$HOME/.opconfig.yaml`
`org ap list` - list agent groups
`org pg list` - list permission groups
`org user list` - list users
`org user create` - create a user
`org user enable` - enable user
`org user disable` - disable user
`org user password reset` - force password update at user next login
`util tz` - list internal timezone ids (to be deprecated)
`version` - print version## Opensource libraries used
- https://github.com/mitchellh/go-homedir
- https://github.com/skratchdot/open-golang
- https://github.com/spf13/viper
- https://github.com/spf13/cobra
- https://github.com/olekukonko/tablewriter