Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ericdeansanchez/replicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicate

Build Status

Overview

replicate is a tool to generate a more general version of its own command line interface.

Table of Contents

Installation

 $ brew install ericdeansanchez/heimdallr/replicate

You can also clone the repository:

$ git clone https://github.com/ericdeansanchez/replicate.git

And then,

$ cargo run cli <name of your app>

Example

Running $ replicate cli app will generate a rust crate with the structure depicted below:

app/
├── Cargo.toml
└── src
    ├── app
    │   ├── lib.rs
    │   └── util
    │       ├── command_prelude.rs
    │       ├── errors.rs
    │       └── mod.rs
    └── bin
        └── app
            ├── cli.rs
            ├── commands
            │   ├── init.rs
            │   └── mod.rs
            └── main.rs

Contributing

Contributions are welcome! No contribution is too small––bug fix, a new feature, or a typo fix––all are welcome.

Prerequisites

replicate is written in Rust so make sure you have Rust installed.

Clone

Clone the repository:

$ git clone https://github.com/ericdeansanchez/replicate.git

Build

cd into the repository and run:

$ cargo build

Test

Ensure the tests pass on your system (please open an issue if they do not):

$ cargo test

Read

These are the docs you really want. Copy & paste the command below in your terminal. Make sure --no-deps is passed otherwise you'll build documentation for all/any dependencies.

$ cargo doc --no-deps --open

About

replicate generic cli boilerplate

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages