jims-rust-cli-test
v0.1.3
Published
A cool cli tool test by Jim!
Downloads
2
Maintainers
Readme
Recreate this project with these steps:
Step 1) Create a new repo
Create a new repo and clone it
Step 2) Create a new rust binary project
This can easily be done with cargo:
cargo new jims-rust-cli-test
Step 3) Change the hello message
Open the main.rs
file and change the string returned to whatever you like...
Step 4) Adjust Cargo.toml
Add these keys to Cargo.toml (with your desired values):
description = "A cool cli tool test by Jim!"
repository = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
readme = "README-for-registry.md"
keywords = ["rust-to-npm-cli", "deploy-rust", "npm", "rust", "cli-tool"]
categories = ["command-line-utilities"]
license = "MIT"
homepage = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
authors = ["Jim Lynch - [email protected]"]
Step 5) Account Logins
Login to your crates.io account in your terminal:
cargo login
Login to your npmjs.com account in your terminal:
npm adduser
Step 7) Install
cargo install rust-to-npm-cli
OR via npm (but not both)
npm i -g rust-to-npm-cli
Step 6) Deploy
rust-to-npm-cli deploy -b
Step 7) Re-Deploy
Change the version in Caargo.toml (according to semver) and then repeat step 6.