{"id":14156520,"url":"https://github.com/zowe/imperative","last_synced_at":"2025-08-06T02:33:52.090Z","repository":{"id":33348449,"uuid":"144619729","full_name":"zowe/imperative","owner":"zowe","description":"Imperative CLI Framework","archived":true,"fork":false,"pushed_at":"2023-11-13T17:11:37.000Z","size":23855,"stargazers_count":24,"open_issues_count":0,"forks_count":27,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-12-03T16:15:31.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zowe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-13T18:40:57.000Z","updated_at":"2024-11-02T08:24:07.000Z","dependencies_parsed_at":"2024-01-14T05:00:07.464Z","dependency_job_id":"bfa9ed20-16d2-426c-a091-5f72e60636ba","html_url":"https://github.com/zowe/imperative","commit_stats":null,"previous_names":[],"tags_count":313,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowe%2Fimperative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowe%2Fimperative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowe%2Fimperative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowe%2Fimperative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zowe","download_url":"https://codeload.github.com/zowe/imperative/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228829197,"owners_count":17978166,"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-08-17T08:05:32.925Z","updated_at":"2024-12-09T03:31:48.853Z","avatar_url":"https://github.com/zowe.png","language":"TypeScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Imperative CLI Framework\n\n[![codecov](https://codecov.io/gh/zowe/imperative/branch/master/graph/badge.svg)](https://codecov.io/gh/zowe/imperative)\n[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/2245/badge)](https://bestpractices.coreinfrastructure.org/projects/2245)\n\n**This package has moved to the [Zowe CLI Monorepo](https://github.com/zowe/zowe-cli/)**\n\nImperative CLI Framework is a command processing system that lets you quickly build customized command-line interfaces. Focus on adding functionality for your users rather than creating CLI infrastructure. We provide you with all the tools to get started building your own CLI plug-ins.\n\n## Software Requirements\n\n- [**Install Node.js package manager**](https://nodejs.org/en/download/package-manager) on your computer. Node.js® is a JavaScript runtime environment on which we architected Imperative CLI Framework.\n\n- You must have a means to execute \".sh\" (bash) scripts to run integration tests. On Windows, you can install \"Git Bash\", which is bundled with the standard [Git](https://git-scm.com/downloads) installation - (choose the \"Use Git and Unix Tools from Windows Command Prompt\" installation option). When you run the integration tests on Windows, you must have Administrative authority to enable the integration tests to create symbolic links.\n\n**Note:** Broadcom Inc. does not maintain the prerequisite software that Imperative CLI Framework requires. You are responsible for updating Node.js and other prerequisites on your computer. We recommend that you update Node.js regularly to the latest Long Term Support (LTS) version.\n\n## Install Imperative as a Dependency\n\nIssue the following commands to install Imperative CLI Framework as a dependency.\n\n- **Install `@latest` version:**\n\n    Be aware that if you update via `@latest`, you accept breaking changes into your project.\n\n    ``` bash\n    npm install @zowe/imperative\n    ```\n\n- **Install `@zowe-v2-lts` version:**\n\n    This is a Long Term Support release that is guaranteed to have no breaking changes.\n\n    ``` bash\n    npm install @zowe/imperative@zowe-v2-lts\n    ```\n\n**Note:** If you want to install the bleeding edge version of Imperative, you can append `--@zowe:registry=https://zowe.jfrog.io/zowe/api/npm/npm-release/` to the install command to get it from a staging registry. It is not recommended to use this registry for production dependencies.\n\n### Build and Install Imperative CLI Framework from Source\nTo build and install the Imperative CLI Framework, follow these steps:\n\n1. Clone the `zowe/imperative` project to your PC.\n2. From the command line, issue `cd [relative path]/imperative`\n3. Issue `npm install`\n4. Issue `npm run build`\n5. Issue `npm run test`\n\nTo build the entire project (including test stand-alone CLIs):\n`npm run build`\n\nTo build only imperative source:\n`npm run build:packages`\n\n### Run Tests\nCommand | Description\n--- | ---\n`npm run test` | Run all automated tests (unit \u0026 integration)\n`npm test:unit` | Run unit tests\n`npm test:integration` | Run integration tests\n`npm test:system` | Run system tests (requires IPv6 connection)\n\n**Note:** To build and install the test CLIs used by the integration tests:\n1. `node scripts/sampleCliTool.js build`\n2. `node scripts/sampleCliTool.js install`\n\n### Sample Applications\n\nWe provide a sample plug-in that you can use to get started developing your own plug-ins. See the [Zowe CLI Sample Plug-in](https://github.com/zowe/zowe-cli-sample-plugin).\n\n## Documentation\nWe provide documentation that describes how to define commands, work with user profiles, and more! For more information, see the [Imperative CLI Framework wiki](https://github.com/zowe/imperative/wiki).\n\n## Contribute\nFor information about how you can contribute code to Imperative CLI Framework, see [CONTRIBUTING](CONTRIBUTING.md).\n\n## Submit an Issue\nTo report a bug or request an enhancement, please [submit an issue](https://github.com/zowe/imperative/issues/new/choose).\n\n## Versioning\nImperative CLI Framework uses Semantic Versioning (SemVer) for versioning. For more information, see the [Semantic Versioning](https://semver.org/) website.\n\n## Licensing Imperative CLI Framework\nFor Imperative CLI Framework licensing rules, requirements, and guidelines, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzowe%2Fimperative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzowe%2Fimperative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzowe%2Fimperative/lists"}