heroku
: functions module for shellfire
This module provides a simple framework for using heroku
with a shellfire application.
- Not yet tagged
TODO.
To import this module, add a git submodule to your repository. From the root of your git repository in the terminal, type:-
mkdir -p lib/shellfire
cd lib/shellfire
git submodule add "https://github.com/shellfire-dev/heroku.git"
cd -
git submodule init --update
You may need to change the url https://github.com/shellfire-dev/heroku.git
above if using a fork.
You will also need to add paths - include the module paths.d.
You will also need to import the curl, git and configure modules and their dependencies.
If calling from another shellfire module, add to your shell code the line
core_usesIn heroku
in the global scope (ie outside of any functions). A good convention is to put it above any function that depends on functions in this module. If using it directly in a program, put this line inside the _program()
function:-
_program()
{
core_usesIn heroku
…
}
- Takes no parameters
- Designed for internal use
If calling from another shellfire module, add to your shell code the line
core_usesIn heroku validate
in the global scope (ie outside of any functions). A good convention is to put it above any function that depends on functions in this module. If using it directly in a program, put this line inside the _program()
function:-
_program()
{
core_usesIn heroku validate
…
}
This is an internal API.