Metadata-Version: 2.1
Name: okta-cmd
Version: 0.1.1
Summary: okta cli
Home-page: https://github.com/stevenQiang/okta-cmd
Author: steven
Author-email: qianggao7@gmail.com
License: MIT Licence
Keywords: pip,okta,cli,cmd,steven
Platform: any
Requires-Python: >=3.5.0
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: click

## okta-cmd

### Introduction
This is my usual Okta-cli, help me easy to operate okta, because okta ui is too slow..

### Use
```bash
$ pip install okta-cmd
# init okta
$ okta-cmd init --url=https://test.okta.com --token=testtoken
# add group 
$ okta-cmd add-group --name=group-test1
# add user file to group
$ okta-cmd add-user-list-to-group --file=./user_list.txt --group=aaaaaaa
# copy group users to other group
$ okta-cmd copy-group-to-other --group=aaaaaaa --othergroup=bbb
# group list
$ okta-cmd group-list
# user list
$ okta-cmd user-list
```
#### Download user list file
user-list command add three options. 
* --download: want download user list 
* --filename: file name, the default is okta_user.json 
* --filepath: file path, the default is ./ 

```bash
$ okta-cmd user-list --download
Download success. path: ./okta_user.json
$ okta-cmd user-list --download --filename=test.json
Download success. path: ./test.json
$ okta-cmd user-list --download --filename=test.json --filepath=./oktacmd
Download success. path: ./oktacmd/test.json
```
### Features
*  [x] add group
*  [x] add user file to group
*  [x] copy group to other group
*  [x] group list
*  [x] user list
*  [x] download user list file

### TODO
*  [ ] download group list file
*  [ ] Delete matching users
*  [ ] Delete matching groups

### Notes
* If you have new features or questions, you can write issues

