bif-init-hub - create a new local hub repository
0.1.0_28 (2014-09-23)
bif init hub [DIRECTORY] [OPTIONS...]
The bif-init-hub command creates a new local hub repository in DIRECTORY after creating (if necessary) the system-wide user repository. Attempting to initialise an existing repository is considered an error.
bif-init-hub does all of its work through other bif commands. They are wrapped by this command in order to simplify the most common initialization scenario, which on the command-line would look something like this:
#!sh if [ ! -d $USER_REPO ]; then bif init repo $USER_REPO bif new identity --user-repo --self fi bif init repo $DIRECTORY bif show identity 1 --user-repo bif pull identity $SELF@$USER_REPO --self bif new hub $BASENAME $DIRECTORY --default
See the FILES section below for the location of $USER_REPO.
The location of the new hub repository.
The global --user-repo option is ignored by bif-init-hub.
--user-repo
User repository location when not running under a Free Desktop environment.
User repository location when running under a Free Desktop environment.
bif(1)
Mark Lawrence <nomad@null.net>
Copyright 2013-2014 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
To install App::bif, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::bif
CPAN shell
perl -MCPAN -e shell install App::bif
For more information on module installation, please visit the detailed CPAN module installation guide.