{"id":18373348,"url":"https://github.com/kirill-dev-pro/unit-cli","last_synced_at":"2025-04-11T01:49:34.613Z","repository":{"id":57386422,"uuid":"101874998","full_name":"kirill-dev-pro/unit-cli","owner":"kirill-dev-pro","description":"Unitcluster CLI tool","archived":false,"fork":false,"pushed_at":"2017-11-10T11:03:46.000Z","size":97,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T01:49:31.972Z","etag":null,"topics":["cli","developer-tools","development-utility","unitcluster"],"latest_commit_sha":null,"homepage":"https://unitcluster.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kirill-dev-pro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-30T11:49:11.000Z","updated_at":"2024-12-20T20:33:36.000Z","dependencies_parsed_at":"2022-09-05T03:21:10.999Z","dependency_job_id":null,"html_url":"https://github.com/kirill-dev-pro/unit-cli","commit_stats":null,"previous_names":["zmeu213/unit-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirill-dev-pro%2Funit-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirill-dev-pro%2Funit-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirill-dev-pro%2Funit-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirill-dev-pro%2Funit-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirill-dev-pro","download_url":"https://codeload.github.com/kirill-dev-pro/unit-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328074,"owners_count":21085257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","developer-tools","development-utility","unitcluster"],"created_at":"2024-11-06T00:09:59.151Z","updated_at":"2025-04-11T01:49:34.596Z","avatar_url":"https://github.com/kirill-dev-pro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Unitcluster logo](http://oi63.tinypic.com/219ri8i.jpg)\n[![Build Status](https://travis-ci.org/Zmeu213/unit-cli.svg?branch=master)](https://travis-ci.org/Zmeu213/unit-cli)\n[![codecov](https://codecov.io/gh/Zmeu213/unit-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/Zmeu213/unit-cli)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\n## command line interface :computer: \n* Create and remove units\n* Edit and debug with your favorite text editers and IDE\n* Deploy units with single button and it already working!\n\n### Instalation\nUse `npm` to install `unit-cli` globaly\n```\nnpm i -g unit-cli\n```\nThen use it like any other console command\n```\nunit-cli\n```\n\n### Basic usage\n\nIn the first run it will ask provide you account information from unitcluster.com, \nsuch as API token which you could find on https://unitcluster.com/account/settings and login\n\nFirst create new unit with `new [unit] [description]` command inside cli\n```\nunit-cli-$ new greeter-unit \"Hello world unitcluster app\"\n```\n`unit-cli` will create new folder inside your units folder that you provided at login. Also it will output to you path to this folder like this\n```\n✔ Unit created at /path/to/your/units/directory/greeter-unit\n```\nThen edit unit files. For example paste this to your `greeter-unit/index.js`\n```javascript\nmodule.exports = unit =\u003e unit.done(null, 'Hello world!')\n```\nRight after you save changes on your computer `unit-cli` will update unit and show you how to run it\n```\n✔ Press [Ctrl + R] or type [run greeter-unit] to run greeter-unit\n```\nPress shortcut on keybord or type `run [unit name]` to run your unit and get output from it right into your console\n```\n[ greeter-unit-result ] Hello world!\n```\nIts done :rocket: \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirill-dev-pro%2Funit-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirill-dev-pro%2Funit-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirill-dev-pro%2Funit-cli/lists"}