MAN page from openSUSE Leap 15 cargo-1.32.0-lp150.188.1.x86_64.rpm
CARGO\-INIT
Section: Cargo Manual (1)
Updated: May 2016
Index NAME
cargo-init - Create a new cargo package in the current directory
SYNOPSIS
I]cargo init] [OPTIONS]
DESCRIPTION
Create a new cargo package in the current directory.
Use the B]--vcs] option to control the version control system touse.
OPTIONS
- -h, --help
- Print this message.
- --vcs I]VCS]
- Initialize a new repository for the given version control system (git orhg) or do not initialize any version control at all (none) overriding aglobal configuration.
- --bin
- Use a binary instead of a library template.
- --name I]NAME]
- Set the resulting package name.
- -v, --verbose
- Use verbose output.
- -q, --quiet
- No output printed to stdout.
- --color I]WHEN]
- Coloring: auto, always, never.
EXAMPLES
Initialize a binary cargo package in the current directory
C]$ cargo init --bin]
SEE ALSO
cargo(1), cargo-new(1)
COPYRIGHT
This work is dual-licensed under Apache 2.0 and MIT terms.See I]COPYRIGHT] file in the cargo source distribution.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- SEE ALSO
- COPYRIGHT
This document was created byman2html,using the manual pages.