![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
syncano-cli
Advanced tools
You can find more information about Syncano_v5 in our Specification
# Locally
$ npm install
$ npm run build
# Globally
$ npm install -g
$ syncano-cli
Usage: cli [options] [command]
Commands:
init [options] init project
socket Manage sockets
hosting Manage hosting
sync synchronize configuration
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
# This will connect cli to your account and create a new instance
$ syncano-cli init
# This allows you to choose an existing instance
$ syncano-cli init --instance <existing_instance_name>
# Welcome screen, provide email and password to your syncano account
Welcome to Syncano (syncano.io)
Please login or create an account by entering your email and password:
Creating Syncano Instance... Done
Setting up config files... Done
# For add new hosting to your project use:
$ syncano-cli hosting add
# You can also choose path to hosting directly:
$ syncano-cli hosting add [path_to_hosting_files]
If you don't specify path in command, you will be able to choose one from select list. This action allow only to add new hosting to your project. After that you should synchronize your local files with remote files on hosting.
# To list your hosting containers type:
$ syncano-cli hosting list
Example response:
Your hosting containers:
name: hello
url: https://hello--morning-wood-4770.syncano.site
# To list your sockets type:
$ syncano-cli socket list
Example response:
socket: test
description: Test Socket
endpoint: test/hello
description: Hello world!
path: https://morning-wood-4770.syncano.space/test/hello/
# To list your sockets type:
$ syncano-cli socket info test
Example response:
socket: hello
description: Test Socket
endpoint: test/hello
description: Hello world!
path: https://morning-wood-4770.syncano.space/test/hello/
name: lastname
description: Last name of the person you want to greet
example: Durden
name: firstname
description: First name of the person you want to greet
example: Tyler
response: text/plain
description: Success
exit code: 200
example: Hello Tyler Durden!
description: Failed
exit code: 400
example: No first name or last name provided :(
During Continues Integration process it is easier to configure your project and access to your Syncano Instance using environment variables. Setting those variables you can override settings from ~/.syncano.yml
file and default Syncano API hostname:
CLI is checking those variables:
SYNCANO_HOST
- API host (usually api.syncano.io)SYNCANO_PROJECT_INSTANCE
- Syncano instance for a projectSYNCANO_AUTH_KEY
- Account API Key (you can find it in dashboard or by logging in using API)CLI is provided with Unit tests in Mocha.
To run them:
npm run unit
To watch for changes:
npm run unit:watch
To make sure you have your environment ready
npm run validate
FAQs
CLI for Syncano
The npm package syncano-cli receives a total of 10 weekly downloads. As such, syncano-cli popularity was classified as not popular.
We found that syncano-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.