{"id":23050229,"url":"https://github.com/questnetwork/quest-cli","last_synced_at":"2025-04-03T03:27:26.928Z","repository":{"id":105958876,"uuid":"282450750","full_name":"QuestNetwork/quest-cli","owner":"QuestNetwork","description":"Swarm CLI for Quest Network apps in Node.js","archived":false,"fork":false,"pushed_at":"2020-10-02T21:41:01.000Z","size":56,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T17:30:43.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/QuestNetwork.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-25T13:36:33.000Z","updated_at":"2020-10-02T21:41:03.000Z","dependencies_parsed_at":"2023-05-21T16:31:15.394Z","dependency_job_id":null,"html_url":"https://github.com/QuestNetwork/quest-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuestNetwork%2Fquest-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuestNetwork%2Fquest-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuestNetwork%2Fquest-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuestNetwork%2Fquest-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuestNetwork","download_url":"https://codeload.github.com/QuestNetwork/quest-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246930638,"owners_count":20856647,"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":[],"created_at":"2024-12-15T23:20:35.610Z","updated_at":"2025-04-03T03:27:26.906Z","avatar_url":"https://github.com/QuestNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Quest Network CLI\n\u003e The Future of Command Line Interfaces\n\n## Lead Maintainer\n\n[StationedInTheField](https://github.com/StationedInTheField)\n\n## Note\nIf you wish to collaborate, check out [our issue list](https://github.com/QuestNetwork/quest-cli/issues).\n\n**Warning:**\nThere's something wrong with how we use the path for the settings. Unfortunately we don't have the time to look into it right now, but it's safest (at least on Linux) to start the app from ```~/``` your home directory. If you can fix it, please contribute, the issue is: https://github.com/QuestNetwork/quest-cli/issues/1\n\n## Prerequisites\n\nBoth the CLI and generated swarm projects have dependencies that require Node 8.9 or higher, together\nwith NPM 5.5.1 or higher.\n\n## Table of Contents\n* [Usage](#usage)\n* [Package Requirements](#package-requirements)\n* [Injecting Variables](#injecting-variables)\n* [License](#license)\n\n## Usage\n\nLocal installation:\n\n```bash\nnode .\n```\n\nWe recommend to edit and place the ```qc``` file in your ```/bin``` folder for global accessibility.\n\n## Package Requirements\n\nSince many different swarm packages have different deployment flows, we're calling the deploy and hibernate scripts from the respective package.json\n\nPlease make sure, your packages have npm compliant package.json files with a ```\"deploy\"``` and ```\"hibernate\"``` script.\n\n\n## Injecting Variables\n\nYou can add arbitrary swarm info variables that will be copied into selected packages swarm.json:\n\n```json\n{\n  \"version\": \"0.9.1\",\n  \"type\": \"swarmProject\",\n  \"name\": \"myProject\",\n  \"v8only\": [\n    \"myContract\",\n    \"myOtherContract\",\n  ],\n  \"combined\": [\n    \"safeContract\",\n    \"anotherSafeContract\"\n  ],\n  \"appKeys\": {\n    \"secretKeyXPC\": \"MY_SECRET_KEY\",\n    \"secretKeyLPG\": \"MY_OTHER_SECRET_KEYS\"\n  },\n  \"externalApiKey\": \"MY_EXERNAL_API_KEY\",\n  \"packages\": [\n    \"myContract\",\n    \"myOtherContract\",\n    \"safeContract\",\n    \"anotherSafeContract\",\n  ],\n  \"injectInfo\": [\n    {\n      \"package\": \"myContract\",\n      \"objects\": [\n        \"version\",\n        \"v8only\",\n        \"combined\",\n        \"appKeys\"\n      ],\n      \"scope\": \"global\"\n    },\n    {\n      \"package\": \"safeContract\",\n      \"objects\": [\n        \"version\",\n        \"externalApiKey\"\n      ]\n    }\n  ],\n  \"retrySettings\": {\n    \"deploy\": 2,\n    \"hibernate\": 5\n  }\n}\n```\n\nThis will add a custom swarm.json file with the listed objects into the respective packages.\n\nSetting scope to global injects the selected objects into the swarm.json of the given package on deploy of every package.\nThis is useful when you're requiring this package in all the others, like a spam filter.\n\nWithout the scope, it will only inject the custom swarm.json for the given package on deploy of this given package.\nThis is useful if you're passing credentials that are specific to a certain package.\n\n## License\n\n[MIT](https://github.com/QuestNetwork/quest-cli/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestnetwork%2Fquest-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquestnetwork%2Fquest-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestnetwork%2Fquest-cli/lists"}