{"id":19178033,"url":"https://github.com/uteamjs/uteam-cli","last_synced_at":"2025-05-07T20:43:45.756Z","repository":{"id":57388956,"uuid":"396276635","full_name":"uteamjs/uteam-cli","owner":"uteamjs","description":"uteam-cli for uteam-react code automation","archived":false,"fork":false,"pushed_at":"2023-09-21T06:17:01.000Z","size":33,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T20:43:37.074Z","etag":null,"topics":["cli","nodejs","react","redux","yaml"],"latest_commit_sha":null,"homepage":"https://u.team","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uteamjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-15T08:22:41.000Z","updated_at":"2023-02-27T04:53:37.000Z","dependencies_parsed_at":"2024-11-09T10:36:25.822Z","dependency_job_id":"c036154c-ce24-4e3a-bc69-cc79eca6aa70","html_url":"https://github.com/uteamjs/uteam-cli","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"4112798c68988d928ca4d07b636bbaddda020057"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uteamjs%2Futeam-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uteamjs%2Futeam-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uteamjs%2Futeam-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uteamjs%2Futeam-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uteamjs","download_url":"https://codeload.github.com/uteamjs/uteam-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954140,"owners_count":21830894,"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","nodejs","react","redux","yaml"],"created_at":"2024-11-09T10:36:17.476Z","updated_at":"2025-05-07T20:43:45.734Z","avatar_url":"https://github.com/uteamjs.png","language":"JavaScript","readme":"The [uteam CLI](https://u.team/document/cli) **Command Line Interface** is to help developers to automate the creation and deletion **React-Redux** \u0026 **Node.js** application modules and packages.\n\nThe application are base on the [@uteamjs/react](https://u.team/document/uteam-react/overview) frontend and [@uteamjs/node](https://u.team/document/uteam-node/overview) backend framework.\n\n**uteam CLI** [generate](https://u.team/document/yaml/overview#uteam) standard JSX Code from [YAML](https://u.team/document/yaml/appyaml) definition.\n# Installation\n```\n$ npm install -g uteam\n```\n\n# Command\n[uteam CLI](https://u.team/document/cli) allows you to execute **command** with different **options** as parameters\n```\n$ uteam \u003ccommand\u003e [--options \u003cparams\u003e …]\n```\n## Help\n```\n$ uteam [help]\n```\nThe screen shows the following message:\n```\nuteam - CLI\n\n  Create and generate @uteamjs applications from YAML definition.               \n  Copyright © 2021 U Team, Inc.                                                 \n  Please visit https://u.team for details.                                      \n\nUsage\n\n  $ uteam \u003ccommand\u003e [--\u003coptions\u003e [string]] \n\n\u003ccommand\u003e\n\n  create     Create Application or Packages             \n  remove     Remove Packages                           \n  generate   Generate React application from YAML       \n  template   Template --update \u003cname\u003e to latest version \n\n\u003coptions\u003e\n  -a, --application string   Application \u003cname\u003e to be generated.                                           \n\n  -p, --packages string[]    Package \u003cnames...\u003e added to application.                                      \n\n  -g, --generate string      Generate code after adding packages.                                          \n\n  -t, --template string      Tempalate \u003cpath\u003e used to create applications or packages.                      \n\n                             Default @uteamjs/template/react-application                                           \n\n  -h, --help                 Display this usage guide.                                                     \n                             \u003cYAML Generation\u003e                                                        \n\n  -y, --yaml string          YAML definition file, default app.yaml.                                       \n\n  --component string         Component template                                                            \n\n  --initComponent string     Init template                                                                 \n\n  --exportComponent string   Export template                                                               \n\n  --indexfile string         Index File template                                                           \n\n  --update string            Upate template name                                                           \n\nExamples\n\n  1. Create application         $ uteam create --application my-cms          \n  2. Create packages            $ cd ...your/application                     \n                                $ uteam create --package my-package package2 \n  3. Generate application       $ uteam generate                             \n  -  with specified yaml file   $ uteam generate --yaml myApp \n```\n\u003e ### Options\n\u003e\n\u003e The options are in form of --name \\\u003cvalue\u003e\n\u003e or -n \\\u003cvalue\u003e where -n is the short form of --name\n## Create\nCreate an application and/or packages with yaml code generation.\n```\n$ uteam create \u003c --application \u003cname\u003e | --packages \u003cname 1\u003e \u003cname 2\u003e … \u003e\n[--generate]\n```\n\n- **--application**: Create [@uteamjs/react](https://u.team/document/uteam-react/overview) application with \\\u003cname\u003e. Application is created from [@uteamjs/template](https://u.team/document/template)/**react-application** by default.\n- **--packages [\u003cname 1\u003e …]**: Create packages under \\\u003capplication\u003e with \\\u003cname 1\u003e, \\\u003cname 2\u003e ...\n- **--generate**: Automatically run **uteam generate** after each package created.\n## Create with template\nCreate either application or packages from template \\\u003cname\u003e\n```\n$ uteam create \u003c --application \u003cname\u003e | --packages \u003cname1\u003e \u003cname 2\u003e \u003e [--template \u003cname\u003e]\n```\n- **--template \\\u003cname\u003e**: The system will search from the user specified template first. If not found, it will use the [@uteamjs/template](https://u.team/document/template)/\\\u003cname\u003e\n## Remove\nRemove packages from applications.\n```\n$ uteam remove [--packages \u003cname 1\u003e \u003cname 2\u003e …]\n```\nONLY **--packages** option is allowed.  If you want to remove the application, just delete the application folder from the file system.\n## Generate\nGenerate complete **React JSX** packages from YAML.  The generation options are defined in the header section of the [YAML](https://u.team/document/yaml/appyaml) file.  Run the following command under each package folder.\n```\n$ uteam generate [--yaml \u003cfile\u003e]\n```\n- **--yaml \\\u003cfile\u003e**: The YAML file used for code generation.\n# Template\nSince [@uteamjs/template](https://u.team/document/template) is installed under the uteam global location, it is hard to navigate to the installed folder to run npm to update the template.  **uteam** provides the following command to update the template to the latest version.\n```\n$ uteam template --update\n```\n# License\n[MIT](LICENSE) - **uteam** installed locally for the create, update and delete of application and packages.\n\nSasS - The Code Generation is a provided by the **cli.u.team** platform.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futeamjs%2Futeam-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futeamjs%2Futeam-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futeamjs%2Futeam-cli/lists"}