1.5.1 • Published 4 months ago

csm-kit v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

csm logo

CLI npm node typescript GitHub Workflow Status (with event) npm GitHub License npm

CSM is a CLI tool build in typescript to store your code snippets. Create and access your code snippets with the command line interface. Search through the saved code snippets to have a quick look.

installation

npm install -g csm-kit

Text User Interface

csm

launch the interface

csm-kit -l

Key Bindings

ActionKey
Copy selected snippet to clipboardc
Delete selected snippetd
Search for snippets/
move up/down the list
select snippetenter
Go back (exit from search)esc
Quit applicationq ctrl+c

Command Line Interface

# help command
csm-kit -h

# save a new snippet
csm-kit -s <filepath>

# example:

csm-kit -s hello.py

# list all snippets
csm-kit -ls

# get a snippet by name
csm-kit -o <snippet_title>

## format for snippet name : binary_search_in_py should be seperated by underscore like this

# example
csm-kit -o binary_search_in_py

# delete a snippet
csm-kit -d <snippet_ID>

# example
csm-kit -d 2
1.5.1

4 months ago

1.5.0

4 months ago

1.4.0

4 months ago

1.3.0

4 months ago

1.2.0

4 months ago

1.1.0

4 months ago

1.0.0

4 months ago