Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TSCCommand = cli.Command{ Name: "tsc", Usage: "Convert to/from TSC", Subcommands: []cli.Command{ { Name: "decrypt", Usage: "decrypt a TSC file into human-readable text", Flags: []cli.Flag{ cli.StringFlag{ Name: "output, o", Value: "output.txt", Usage: "`PATH` to output file", }, }, Action: func(ctx *cli.Context) error { return handle("decrypt", ctx, false) }, }, { Name: "encrypt", Usage: "encrypt a plaintext file into TSC", Flags: []cli.Flag{ cli.StringFlag{ Name: "output, o", Value: "output.tsc", Usage: "`PATH` to output file", }, cli.BoolFlag{ Name: "allow-comments, c", Usage: "if this flag is provided, the comments will not be stripped", }, }, Action: func(ctx *cli.Context) error { return handle("encrypt", ctx, ctx.Bool("allow-comments")) }, }, }, }
TSCCommand is the command that encrypts/decrypts TSC
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.