Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

futurecandy-1.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

futurecandy-1.1-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page