Project initialization utility for Linux.
Reason this release was yanked:
Does not exist VCS, probably invalid build that was pushed by mistake.
Project description
futurecandy
><=><
Linux utility for launching projects in a single command.
Install with pip install futurecandy
.
Run with python3 -m futurecandy
or add a command alias to your shell RC file with python3 -m futurecandy rc
to run with command futurecandy
.
futurecandy will create directory .futurecandy
in the user's home directory.
Edit configuration files and hooks there.
Run python3 -m futurecandy update
or futurecandy update
to fetch base hooks.
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 = "python3 -m futurecandy.hooks.License {}"
want_path = True
check_bin = False
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
.
If check_bin
is true, futurecandy will split the script
string by spaces into an array, then extract the first element as the script command for validation. If the "command" does not exist, the user will enter the shell to rectify the situation, before the command is re-ran.
Updating
Update the package through PIP, then remove and regenerate ~/.futurecandy/
.
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.3.tar.gz
.
File metadata
- Download URL: futurecandy-1.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.10.73-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277eb7df977eda04e61baab5c5fe1af0aeb0ad7aea50987a7a169b4daf262073 |
|
MD5 | c6c17fafeeae96fe1ed76c1e30779ef0 |
|
BLAKE2b-256 | 65b469d8f1cbb3e1ec6357aece8e1872d4b76448a750061a9d74ab155e44468a |
File details
Details for the file futurecandy-1.3-py3-none-any.whl
.
File metadata
- Download URL: futurecandy-1.3-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.10.73-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89deb66adb428d72bd6e3ddc7dceda4b163f9e63790f0391676930d609bc6793 |
|
MD5 | 73674b6573399c080d3d6f21ea150efd |
|
BLAKE2b-256 | 0163a3902c241eaa5ad8866535cbaf9c049bf68fcd4b1e0f8052abcdc135776a |