Skip to content

shellfire-dev/heroku

Repository files navigation

heroku: functions module for shellfire

This module provides a simple framework for using heroku with a shellfire application.

Compatibility

  • Not yet tagged

Overview

TODO.

Importing

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.

Namespace heroku

To use in code

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
	…
}

Functions


heroku_create

  • Takes no parameters
  • Designed for internal use

Namespace heroku_validate

To use in code

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
	…
}

Functions

This is an internal API.

About

Heroku functions for shellfire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published