CON-DEV

NAME
SYNOPSIS
DESCRIPTION
OPTIONS

NAME

con-dev - manual page for con-dev 0.3.2

SYNOPSIS

con-dev [-h] [-v] [-q] [-V] [-B] [-A] [-K] [-S <sudoCmd>] [-p <project>] [-c] [-N] [-F <conffile>] [-D <confdir>] (status|setup..|release [snapshot|VERSION|SEQUENT[..]]|bs..|vc..|meta..)

DESCRIPTION

Software development tool for terminals.

OPTIONS

Generic options:

-h

: Get help (use -v [-v] to get more help).

-v

: Increase verbosity.

-q

: Decrease verbosity.

-V

: Print program version only.

-B

: Print bash completion code for this program.

-A

: Automatic mode: Assume defaults for all questions.

-K

: Keep mode: Don’t delete temporary files and directories.

-S

<sudoCmd> : Command to gain root access. [default: sudo] [type: string]

Program-specific options:

-p <project> : Project to act on. [type: con_dev_type_project]

-c

: Checkout mode: Work in a temporary fresh VC checkout (not wd). [default: master] [implies: -p]

-N

: No action mode: Just show what would be run (@todo CURRENTLY FOR ’release’ ONLY!)

-F

<conffile>: Project config file location. [default: ./.con-dev/conf] [type: file]

-D <confdir> : User config dir location. [default: /sbuild-nonexistent/.con-dev] [type: dir]

Commands:

status

: Get project status

setup user|project|meta

: Setup tool.

user [VARPFX]

: Setup user (~/.con-dev/conf).

project [VARPFX]: Setup project

(./.con-dev/conf).

meta [VARPFX]

: Setup project’s meta (~/.con-dev/PROJECT.conf).

release [snapshot|VERSION|SEQUENT[..]]

: Release tool.

bs
status|init|strap|configure|build|check|dist|distcheck|clean|setversion|rebuild

: Build system abstraction.

status

: Print build system status.

init [NAME]

: Create a new project NAME (use "CON_BS_FORCE" envvar to select build system).

strap

: Strap the build system.

configure [CONFIGURE_OPTIONS]: Configure the build system. build : Run build. check : Run checks/tests. dist : Make a distribution. distcheck : Make a distribution with checks. clean : Clean the build system. setversion VERSION : Set package version. rebuild [CONFIGURE_OPTIONS] : Shortcut for the sequence: clean strap configure build.

vc status|init|checkout|check|commit|push|pull|diff|version|tag|branch|changelog|news: Version control abstraction.

status

: Print version control status.

init DIR

: Create a new version control ’remote’ at DIR (use "CON_VC_FORCE" envvar to select the VC system).

checkout URI BRANCH DIR: Checkout BRANCH from remote URI into DIR (use "CON_VC_FORCE" envvar to select the VC system). check : Check if working directory is in sync. commit FILE MSG : Commit FILE. push : Push comitted changes to remote. pull : Pull changes from remote. diff FILE : Print local changes for file. version : Print a VC version string (suitable for snapshots). tag [TAGNAME] : List tags or add new tag TAGNAME when given. branch [BRANCHNAME] : List branches or add new branch BRANCHNAME when given. changelog : Generate ChangeLog from the VC systems logs. news SINCE : Generate NEWS text (first line of VC checkins).

meta status|env|shell|rebuild

: Commands outside a project.

status PROJECT [PFX]: Print a project’s status. env PROJECT : Produce shell code to taint the environment to use con-dev enabled projects. shell PROJECT [SHELL]: Enter project shell with tainted environment. rebuild PROJECT [skipvc]: Rebuild project.

-- con-dev 0.3.2. Use [-v [-v]] -h [<cmd>] to get [more] help.