feat: remove authors from cli help
This commit is contained in:
parent
5bd848b0b8
commit
7129ad6202
26
README.md
26
README.md
|
@ -14,8 +14,32 @@ For now the command line application can only encode/decode Untyped Plutus Core
|
||||||
to/from it's on chain format. See the roadmap below for a list of planned features and goals.
|
to/from it's on chain format. See the roadmap below for a list of planned features and goals.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# compile an untyped plutus core program
|
# help
|
||||||
|
aiken help
|
||||||
|
|
||||||
|
# compile an untyped plutus core program to flat
|
||||||
aiken uplc flat program.uplc
|
aiken uplc flat program.uplc
|
||||||
|
|
||||||
|
aiken uplc flat program.uplc --print
|
||||||
|
|
||||||
|
# output
|
||||||
|
00001011 00010110 00100001 01001000
|
||||||
|
00000101 10000001
|
||||||
|
|
||||||
|
aiken uplc flat program.uplc --out=something.flat
|
||||||
|
|
||||||
|
# decode an untyped plutus core program from flat
|
||||||
|
aiken uplc unflat program.flat
|
||||||
|
|
||||||
|
aiken uplc unflat program.flat --print
|
||||||
|
|
||||||
|
# output
|
||||||
|
(program
|
||||||
|
11.22.33
|
||||||
|
(con integer 11)
|
||||||
|
)
|
||||||
|
|
||||||
|
aiken uplc unflat program.flat --out=something.uplc
|
||||||
```
|
```
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
|
@ -4,7 +4,7 @@ use clap::{Parser, Subcommand};
|
||||||
|
|
||||||
/// Cardano smart contract toolchain
|
/// Cardano smart contract toolchain
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[clap(author, version, about, long_about = None)]
|
#[clap(version, about, long_about = None)]
|
||||||
#[clap(propagate_version = true)]
|
#[clap(propagate_version = true)]
|
||||||
pub enum Args {
|
pub enum Args {
|
||||||
/// A subcommand for working with Untyped Plutus Core
|
/// A subcommand for working with Untyped Plutus Core
|
||||||
|
@ -31,9 +31,8 @@ pub enum UplcCommand {
|
||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
out: Option<String>,
|
out: Option<String>,
|
||||||
},
|
},
|
||||||
Fmt {
|
/// Format an Untyped Plutus Core program
|
||||||
input: PathBuf,
|
Fmt { input: PathBuf },
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Args {
|
impl Default for Args {
|
||||||
|
|
Loading…
Reference in New Issue