feat(cli): rework uplc subcommands

closes #553

* rename flat to encode
* rename unflat to decode
* alias both to their old names
* both only print to stdout
  use can pipe to file
* split cbor and hex flags
* hex flag works for either cbor or flat
* encode takes --to flag
  [name, named-debruijn, debruijn]
* decode takes --from flag
  [name, named-debruijn, debruijn]
This commit is contained in:
rvcas
2023-06-01 23:50:59 -04:00
parent e5d9398625
commit 335cc0c8bc
8 changed files with 181 additions and 154 deletions

View File

@@ -1,3 +1,4 @@
artifacts/
build/
*.sk
*.addr