Facio
Facio is a project scaffolding tool originally developed for Django and expanded to be framework agnostic. You can use Facio to bootstrap any sort of project.
-h –help Show this help text. –version Show version. -t –template <path> Template path, can be repository link
(git+ / hg+) or a template name defined in ~/.facio.cfg.
| --vars <variables> | |
| Comma separated key=value pairs of values to be used in processing templates. | |
Load the ~/.facio.cfg ini style configuration file, providing an easily queryable dict representation of the config attributes.
Print error that does not result in an exit (Red)
| Parameters: | message (str) – Message to print to user |
|---|
Common message prompting for gathering input form the end user.
| Parameters: | message (str) – Message to print to user |
|---|
Print message information to user (Blue)
| Parameters: | message (str) – Message to print to user |
|---|
** Optional Key Word Arguments **
| Parameters: | color – Clint color function to use |
|---|---|
| Type: | function – default blue |
Parse the config file using ConfigParser module.
| Parameters: | name (str) – The file name to read in the users home dir – optional |
|---|---|
| Returns: | ConfirgParser or bool |
Print a success message (Green)
| Parameters: | message (str) – Message to print to user |
|---|
Print a warning message (Yellow)
| Parameters: | message (str) – Message to print to user |
|---|
Returns list of of file copy ignore globs from configuration file.
| Returns: | list |
|---|
Print error that does not result in an exit (Red)
| Parameters: | message (str) – Message to print to user |
|---|
Common message prompting for gathering input form the end user.
| Parameters: | message (str) – Message to print to user |
|---|
Obtain the template with from the command line interface or from prompting the user to choose a template from the config file.
| Returns: | str or bool |
|---|
Print message information to user (Blue)
| Parameters: | message (str) – Message to print to user |
|---|
** Optional Key Word Arguments **
| Parameters: | color – Clint color function to use |
|---|---|
| Type: | function – default blue |
Returns list of of file render ignore globs from configuration file.
| Returns: | list |
|---|
Print a success message (Green)
| Parameters: | message (str) – Message to print to user |
|---|
Print a warning message (Yellow)
| Parameters: | message (str) – Message to print to user |
|---|