Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmccandless/license-cli
CLI for license-api
https://github.com/cmccandless/license-cli
Last synced: 1 day ago
JSON representation
CLI for license-api
- Host: GitHub
- URL: https://github.com/cmccandless/license-cli
- Owner: cmccandless
- License: mit
- Created: 2018-06-04T18:49:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-12T17:30:52.000Z (almost 6 years ago)
- Last Synced: 2024-08-13T07:08:14.638Z (3 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - cmccandless/license-cli - CLI for license-api (Python)
README
# license-cli
CLI for [license-api
](https://github.com/cmccandless/license-api)## Usage
```Bash
$ ./cli.py -h
usage: cli [-h] {status,list} ...positional arguments:
{status,list}optional arguments:
-h, --help show this help message and exit
``````Bash
$ ./cli.py list -h
usage: list [-h] [-r]
[-p {commerical-use,modifications,distribution,private-use,patent-use} [{commerical-use,modifications,distribution,private-use,patent-use} ...]]
[-c {include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} [{include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} ...]]
[-l {trademark-use,liability,patent-use,warranty} [{trademark-use,liability,patent-use,warranty} ...]]optional arguments:
-h, --help show this help message and exit
-r, --rules
-p {commerical-use,modifications,distribution,private-use,patent-use} [{commerical-use,modifications,distribution,private-use,patent-use} ...], --permissions {commerical-use,modifications,distribution,private-use,patent-use} [{commerical-use,modifications,distribution,private-use,patent-use} ...]
-c {include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} [{include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} ...], --conditions {include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} [{include-copyright,document-change,network-use-disclose,same-license,same-license--file,same-license--library} ...]
-l {trademark-use,liability,patent-use,warranty} [{trademark-use,liability,patent-use,warranty} ...], --limitations {trademark-use,liability,patent-use,warranty} [{trademark-use,liability,patent-use,warranty} ...]
``````Bash
$ ./cli.py status -h
usage: status [-h]optional arguments:
-h, --help show this help message and exit
```## Bash completion
```Bash
source completion
```