Project initialization utility for Linux.
Project description
futurecandy
><=><
Linux utility for launching projects in a single command.
Run with python -m futurecandy
or add a command alias to your shell RC file with python -m futurecandy.extra
to run with command futurecandy
.
futurecandy will create directory .futurecandy
in the user's home directory.
Edit configuration files and hooks there.
Hooks
Users may add their own hooks, by creating a file in directory ~/.futurecandy/hook
, with file extension .hook.futurecandy
.
Below is an example hook,
[meta]
name = "LICENSE"
description = "Hook for generating LICENSE files."
[exec]
script = "python -m futurecandy.hooks.License {}"
want_path = True
Hooks must have a meta
section with the name of the hook, and its description.
This will appear on the hook selection menu.
Followed is the exec
section with a command to run, defined with property script
.
To specify the path to the project directory for the command, include {}
as a placeholder in the script
command, which will be replaced with the directory path, and set want_path
to True
.
Acknowledgements
gitignore.hook.futurecandy
based off of perpetualCreations/auto-gitignore forked from Mux-Mastermann/auto-gitignore.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file futurecandy-1.1.tar.gz
.
File metadata
- Download URL: futurecandy-1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.7 Linux/5.10.63-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f79588a2c111435034afc622efb1999d9aca90425088db5813867f6196bdc7 |
|
MD5 | 07b07d878802c96a10a9207e0dc4432f |
|
BLAKE2b-256 | 7e891c65aac4476369613792fa3ac4a022c8507eb467419e58c6a495ba27cf59 |
File details
Details for the file futurecandy-1.1-py3-none-any.whl
.
File metadata
- Download URL: futurecandy-1.1-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.7 Linux/5.10.63-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178e91f4ffdb44f0b58dc54818a2a9a26e4989c80efbafbdce007023cd61d7ca |
|
MD5 | 2fcb820b239fce5fc9f45d65131e74d7 |
|
BLAKE2b-256 | a62c61535458b8c9a73c8f31b08955cf4a43de32daa5b53253bdb75873886a69 |