The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

bif-init - create a new bif repository

VERSION

0.1.0_28 (2014-09-23)

SYNOPSIS

    bif init [ITEM] [OPTIONS...]

DESCRIPTION

The bif-init command creates a new local repository in .bif/ after creating (if necessary) the system-wide user repository. bif-init 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 .bif/
    bif show identity 1 --user-repo
    bif pull identity $SELF@$USER_REPO --self

See the FILES section below for the location of $USER_REPO.

Arguments & Options

ITEM

One of the following sub-commands:

repo

bif-init-repo

hub

bif-init-hub

Note that the global --user-repo option does not apply in the context of bif-init and is ignored.

Errors

Attempting to initialise an existing repository is considered an error.

FILES

$HOME/.bifu/

Default user repository location.

SEE ALSO

bif(1)

AUTHOR

Mark Lawrence <nomad@null.net>

COPYRIGHT AND LICENSE

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.