codeswap

1.3.3 • Public • Published

codeswap

codeswap is a tool that allows you to share and receive programming scripts. An account is not required or needed. codeswap is a replacement wrapped for node. To use codeswap, replace the word node on the command line when executing codeswap.

** Installation **

codeswap can be installed by using npm.
npm install -g codeswap
This will install codeswap globally for use in any directory in which you decide to share a file.

Usage

codeswap wraps your application, so you can pass all of the arguments you would normally pass without using node.
codeswap [parameters]

For CLI options, use the -h (--help or help) argument:
codeswap -h
codeswap --help
codeswap help

Using codeswap is simple with the following syntaxes.
NOTE In order to share a file, the file must be located within the current working directory of your terminal, otherwise you must provide a path to the file. When a file is downloaded it is saved within the current working directory of your terminal.

Sharing File with codeswap

To share a file, simply use the -s (--share or share) argument:
codeswap -s [fileName]
codeswap --share [fileName]
codeswap share [fileName]

After executing this script, a copy of your file is sent to the codeswap database and you are provided with a KEY and ID. In order for your file to be downloaded a KEY and ID must be provided.

Downloading File with codeswap

To download a file, simply use the -d (--download or download) argument:
codeswap -d [KEY] [ID]
codeswap --download [KEY] [ID]
codeswap download [KEY] [ID]

After executing this script, the desired file is retrieved from the codeswap database and immediately deleted from the database. The file will be saved under its original name within the current working directory of your terminal.

Updates

I intend to continue updating codeswap as a passion project for terminal based file sharing. Any suggestions for future updates or comments are welcomed at cebafactory@gmail.com. Thank you for using codeswap!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.31latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.31
1.3.21
1.2.20
1.1.21
1.1.11
1.1.01
1.0.90
1.0.81
1.0.70
1.0.60
1.0.51
1.0.41
1.0.31
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i codeswap

Weekly Downloads

0

Version

1.3.3

License

ISC

Unpacked Size

8.45 kB

Total Files

3

Last publish

Collaborators

  • ceba