Skip to content

Application Development

This is a development tool and tracks the state of the "current" project you are working on.

The concept of the Application Home is the current project you are working on in your system. The value is stored in a cache file and can be updated using applicationHome or the (default) aliases g and G.

A pattern used can be per-project:

alias gFluxCapacitor='cd $HOME/projects/flux'
alias GFluxCapacitor='gFluxCapacitor; G'

Which allows you to navigate between projects and change your current context.

applicationHome

Set, or cd to current application home directory.

Usage

applicationHome [ --help ] [ directory ] [ --go ]

Set, or cd to current application home directory.

Arguments

  • --help - Optional. Flag. Display this help.
  • directory - Directory. Optional. Set the application home to this directory.
  • --go - Flag. Optional. Change to the current saved application home directory.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error

applicationHomeAliases

Set aliases G and g default for applicationHome

Usage

applicationHomeAliases [ goAlias ] [ setAlias ]

Set aliases G and g default for applicationHome Localize as you wish for your own shell

Arguments

  • goAlias - String. Alias for applicationHome --go. Default is g.
  • setAlias - String. Alias for applicationHome. Default is G.

Return codes

  • 0 - Success
  • 1 - Environment error
  • 2 - Argument error