commodore
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.
You can also run git commands via commodore:
$ commodore git 'log -p' ... $ commodore git 'remote add origin ssh://git@bitbucket.org/me/my_commodore_bin_dir' $ commodore git 'push -u origin master'
Release Notes
- 0.1.4:
Fix bug where file might disappear while editing causing a crash. Alerts user.
Now works with gvim if --nofork is passed
- 0.1.3:
Support EDITOR command line args (eg. emacs -t)
- 0.1.2:
Add git command
- 0.1.1:
Updated README and notes on usage
- 0.1.0:
commodore create, edit, delete works
- 0.0.1:
Project created
Metadata
Release files for commodore 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commodore-0.1.5.tar.gz | 7.1 kB | Without provenance | Details for commodore-0.1.5.tar.gz |
Release files / commodore-0.1.5.tar.gz
| Download URL | commodore-0.1.5.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf82e84e0456a4411fbcc1d744f82541e7ccff44afb2f942303d0b5f672aa97d
|
|
BLAKE2b-256 checksum How to use checksums |
3487ba61d2176c2b275d46de58e8d97c4670d24723cb9d5d09449f498fac72f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for commodore 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.