The Hackerlab at regexps.com

arch Commands in General

up: arch Meets hello-world
next: Introducing Yourself to arch
prev: About This Manual

Every command in arch is accessed via the program tla , using an ordinary sub-command syntax:

        % tla <sub-command> <options> <parameters>

A list of sub-commands can be obtained from:

        % tla help

A brief summary of the options to any command is given by:

        % tla <sub-command> -h

A more detailed help message for each command is given by:

        % tla <sub-command> -H

For example, try:

        % tla make-archive -H

        create a new archive directory
        usage: make-archive [options] name directory
        
          -h, --help           Display a help message and exit.
          -H,                  Display a verbose help message and exit.
          -V, --version        Display a release identifier string
                               and exit.
          -m, --mirror MASTER  create mirror of specified archive
        
        NAME is the global name for the archive.  It must be an
        email address with a fully qualified domain name, optionally
        followed by "--" and a string of letters, digits, periods
        and dashes.
        
        With --mirror, label the new archive as a mirror of MASTER.
        Ordinary commits can not be made to a mirror archive, however
        the command "tla archive-mirror" can write to a mirror.


There is a great deal of regularity among commands regarding option names and parameter syntax. Hopefully, you'll pick this up as you learn the various commands.

arch Meets hello-world: A Tutorial Introduction to The arch Revision Control System
The Hackerlab at regexps.com