Closed sussycatgirl closed 3 years ago
Just letting you know that OS file extensions are tcc/tco for the CX and tcc2/tco2/tct2 for the CX II variants.
Woops, I didn't know that - I'll push a fix later.
You can get the extension with handle.info()?.os_extension
, but of course that doesn't help with doc comments.
Just pushed out a commit which fixes the doc comments, and also adds a file extension check to upload-os
.
I'll take a look at this by Wednesday evening.
Thank you!
I noticed that n-link's CLI is lacking most features libnspire offers.
This pull request adds the following subcommands:
download
- Download files from the calculatorupload-os
- Upload and install a .tct2 OS filecopy
- Copy a file to a different locationmove
- Move a file or directory to a new locationmkdir
- Create a directoryrmdir
- Delete a directoryls
- List the contents of a directory