The subcommand can be used to sign a transaction.
(string) transaction— The JSON string or filename defining the transaction to sign (required).
--private-key TEXT — The private key that will be used to sign the transaction.
--chain-id TEXT — The chain id that will be used to sign the transaction.
--push-transaction — Push transaction after signing.
$ cleos sign [OPTIONS] <transaction>