From 5afe65727c8288f40c1230bfde26e229d094b03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=92=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2?= <32911557+vladimirovmm@users.noreply.github.com> Date: Fri, 14 Jan 2022 13:41:44 +0500 Subject: [PATCH] [v1.5] update readme.md (#184) * Updated move stdlib. Added Reflect native functions. * Fmt * Fix for clippy. * Fix for clippy. * update readme.md Co-authored-by: Dm. Yakushev --- README.md | 23 ++++++++++++++++++++--- dove/src/cmd/clean.rs | 4 ++-- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5160ca81..eba6f15b 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ Regular installation: cargo install --path dove ``` -See help: +##### See help: ```shell script dove -h ``` -Create new project: +##### Create new project: ```shell script dove new first_project @@ -58,13 +58,30 @@ dialect = "Pont" * `pont` - Polkadot SS58 addresses. * `dfinance` - bech32 addresses. -Build project: +##### Build project: ```shell script dove build ``` See `./build/` folder to get scripts/modules binaries. +##### Clean build directory: +```shell script +dove clean +``` +The contents of the directories will be deleted: +- `/storage` +- `/build` + +##### Clear build directory and global cache: +```shell script +dove clean --global +``` +The contents of the directories will be deleted: +- `/storage` +- `/build` +- `~/.move/` + ### Pallet Transactions Command `tx` allows you to create transactions for Polkadot chain with [Move Pallete](https://github.com/pontem-network/sp-move) on board. diff --git a/dove/src/cmd/clean.rs b/dove/src/cmd/clean.rs index a3125784..e0701e00 100644 --- a/dove/src/cmd/clean.rs +++ b/dove/src/cmd/clean.rs @@ -7,7 +7,7 @@ use move_cli::Move; use crate::cmd::{Cmd, default_sourcemanifest}; use crate::context::Context; -/// Clean target directory command. +/// Clean build directory command. #[derive(StructOpt, Debug, Default)] #[structopt(setting(structopt::clap::AppSettings::ColoredHelp))] pub struct Clean { @@ -27,7 +27,7 @@ pub struct Clean { // PROJECT_DIR/storage // PROJECT_DIR/build // ~/.move/* - #[structopt(help = "Clear target directory and global cache command", long)] + #[structopt(help = "Clean build directory and global cache command", long)] global: bool, }