{"id":16651561,"url":"https://github.com/bsorrentino/officescripts-cli","last_synced_at":"2025-04-09T17:31:22.161Z","repository":{"id":56850509,"uuid":"422513144","full_name":"bsorrentino/OfficeScripts-CLI","owner":"bsorrentino","description":"CLI for manage Office Script (OSTS) files","archived":false,"fork":false,"pushed_at":"2024-01-17T18:16:46.000Z","size":216,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T08:12:17.742Z","etag":null,"topics":["cli","office-scripts","office365-cli","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bsorrentino.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-10-29T09:16:27.000Z","updated_at":"2024-11-27T12:56:17.000Z","dependencies_parsed_at":"2024-01-17T20:12:11.225Z","dependency_job_id":"ce352b61-12f2-4877-b55c-471ad29e8d01","html_url":"https://github.com/bsorrentino/OfficeScripts-CLI","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":"0.38095238095238093","last_synced_commit":"74943ac923dab268390253809b5e782abeb55107"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2FOfficeScripts-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2FOfficeScripts-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2FOfficeScripts-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2FOfficeScripts-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsorrentino","download_url":"https://codeload.github.com/bsorrentino/OfficeScripts-CLI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077302,"owners_count":21043936,"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","office-scripts","office365-cli","typescript"],"created_at":"2024-10-12T09:25:42.240Z","updated_at":"2025-04-09T17:31:22.012Z","avatar_url":"https://github.com/bsorrentino.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@bsorrentino/osts-cli.svg)](https://www.npmjs.com/package/@bsorrentino/osts-cli)\u0026nbsp;\n\u003cimg src=\"https://img.shields.io/github/forks/bsorrentino/OfficeScripts-CLI.svg\"\u003e\u0026nbsp;\n\u003cimg src=\"https://img.shields.io/github/stars/bsorrentino/OfficeScripts-CLI.svg\"\u003e\u0026nbsp;\n\u003ca href=\"https://github.com/bsorrentino/OfficeScripts-CLI/issues\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues/bsorrentino/OfficeScripts-CLI.svg\"\u003e\u003c/a\u003e\u0026nbsp;\n![npm publishing](https://github.com/bsorrentino/OfficeScripts-CLI/actions/workflows/npm-publish.yml/badge.svg)\n\n# OfficeScripts-CLI\nCLI for manage OSTS files\n\n\n## Prerequisites\n\nInstall [CLI for Microsoft 365](https://pnp.github.io/cli-microsoft365/)\n\u003e\n\u003e ```\n\u003e npm i -g @pnp/cli-microsoft365\n\u003e ```\n\u003e\n\u003e or using yarn:\n\u003e\n\u003e ```\n\u003e yarn global add @pnp/cli-microsoft365\n\u003e ```\n\nlogin on Office365\n\u003e\n\u003e ```\n\u003e m365 login\n\u003e ```\n\n## Install\n\n```\nnpm install -g @bsorrentino/osts-cli\n```\n\n## Usage \n\n```\nUsage:\n========\nosts list[--path]  // list OSTS packages in SPO path. \n\nosts unpack [--path, -p \u003cdest dir\u003e [--dts] ] // download OSTS package and extract body (.ts) to dest dir (default 'osts'). \n                                             // If --dts is specified an Office Script Simplified TS Declaration  file will be copied in dest dir\n\nosts pack [--path, -p \u003csrc dir\u003e] [--file, -f \u003costs file name\u003e] // bundle source (.ts) in src dir (default 'osts') to OSTS package and upload it\n\nosts dts [--path, -p \u003cdest dir\u003e] // an Office Script Simplified TS Declaration file is copied in dest dir\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsorrentino%2Fofficescripts-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsorrentino%2Fofficescripts-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsorrentino%2Fofficescripts-cli/lists"}