1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! # Substrate package manager
//!
//! [![sup](https://github.com/clearloop/sup/workflows/sup/badge.svg)](https://github.com/clearloop/sup)
//! [![crate](https://img.shields.io/crates/v/sup.svg)](https://crates.io/crates/sup)
//! [![doc](https://img.shields.io/badge/current-docs-brightgreen.svg)](https://docs.rs/sup/)
//! [![downloads](https://img.shields.io/crates/d/sup.svg)](https://crates.io/crates/sup)
//! [![LICENSE](https://img.shields.io/crates/l/sup.svg)](https://choosealicense.com/licenses/mit/)
//!
//! Master your substrate
//!
//! ## Install
//!
//! ```bash
//! cargo install sup
//! ```
//!
//! ## Usage
//!
//! ```text
//! sup 0.1.7
//!
//!     USAGE:
//! sup <SUBCOMMAND>
//!
//!     FLAGS:
//! -h, --help       Prints help information
//!     -V, --version    Prints version information
//!
//!     SUBCOMMANDS:
//! help       Prints this message or the help of the given subcommand(s)
//!     new        Create a new substrate node template
//!     source     List Source
//!     tag        List available tags
//!     update     Update registry
//!     upgrade    Upgrade substrate project
//! ```
//!
//! [substrate]: https://github.com/paritytech/substrate
#![warn(missing_docs)]
pub mod cmd;
mod registry;
mod result;

pub use self::{
    registry::Registry,
    result::{Error, Result},
};