cmd

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DecodeCmd = &cmd.Command{
	Name:  "she-decode",
	Run:   runDecode,
	Brief: "Decode M1,M2,M3,M4,M5 to JSON input",

	Usage: `Usage: pocryp she-decode [hex_string]

Decode the M1,M2,M3,M4,M5 given as a hex string to its JSON form.
If no argument given, stdin will be read.
`,
}
View Source
var EncodeCmd = &cmd.Command{
	Name:  "she-encode",
	Run:   runEncode,
	Brief: "Encode JSON input to M1,M2,M3,M4,M5",

	Usage: `Usage: pocryp she-encode [input.json]

Encode the given JSON input file to M1,M2,M3,M4,M5.
If no argument given, stdin will be read.
`,
}
View Source
var ExampleCmd = &cmd.Command{
	Name:  "she-example",
	Run:   runExample,
	Brief: "Print example JSON input",

	Usage: `Usage: pocryp she-example

Print example JSON input to stdout.
`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL