Manage and maintain your user's scripts and tools
Project description
Manage and maintain your user’s scripts and tools
Installation
From pypi:
$ pip install commodore
… or from the project root directory:
$ python setup.py install
Then run commodore from the command line to create the required configuration and binary directory, and define your desired editor.
Usage
Create a new script:
$ commodore create helloworld
Edit your script, including the shebang line:
#!/usr/bin/env python
print('Hello world!')
Then run it!:
$ helloworld Hello world!
List your scripts:
$ commodore list helloworld
Edit an existing script:
$ commodore edit helloworld
And finally, delete it:
$ commodore delete helloworld
Use –help/-h to view info on the arguments:
$ commodore --help
usage: commodore [-h] {create,list,edit,delete} ...
positional arguments:
{create,list,edit,delete}
optional arguments:
-h, --help show this help message and exit
You can manually check the history of created, edited and deleted scripts by navigating to the commodore binary directory (default ~/.commodore/bin) and using git commands to see changelogs. Every create, edit and delete will be tracked as a git commit.
Release Notes
- 0.1.1:
Updated README and notes on usage
- 0.1.0:
commodore create, edit, delete works
- 0.0.1:
Project created
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file commodore-0.1.1.tar.gz.
File metadata
- Download URL: commodore-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac7911f641a010b5b578772238e058f8e95717e94fd885a8a7b92a5c8b84262
|
|
| MD5 |
4caedcebe2cd830611b96a58f1993db3
|
|
| BLAKE2b-256 |
7609839ce17ac505c603497d5b673c6ef9883195601e76db404ff9ef6c306ec3
|