{"id":13602265,"url":"https://github.com/fabiospampinato/specialist","last_synced_at":"2025-04-09T17:26:23.741Z","repository":{"id":57367158,"uuid":"366544087","full_name":"fabiospampinato/specialist","owner":"fabiospampinato","description":"A library that helps you write tiny, fast, bundled and beautiful CLI apps that can automatically check for updates.","archived":false,"fork":false,"pushed_at":"2025-02-02T17:51:40.000Z","size":43,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T12:05:38.668Z","etag":null,"topics":["app","application","beautiful","bundled","cli","command-line","easy","fast","simple","tiny"],"latest_commit_sha":null,"homepage":null,"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/fabiospampinato.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},"funding":{"github":"fabiospampinato","custom":"https://www.paypal.me/fabiospampinato"}},"created_at":"2021-05-12T00:10:03.000Z","updated_at":"2025-02-02T17:51:43.000Z","dependencies_parsed_at":"2023-12-13T23:21:51.053Z","dependency_job_id":"3335851a-20f5-45ee-937d-31c202b417cf","html_url":"https://github.com/fabiospampinato/specialist","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"4250b2e0db5a946df4db6110906f8a7b73fdf3fd"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fspecialist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fspecialist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fspecialist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fspecialist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/specialist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248076234,"owners_count":21043733,"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":["app","application","beautiful","bundled","cli","command-line","easy","fast","simple","tiny"],"created_at":"2024-08-01T18:01:18.335Z","updated_at":"2025-04-09T17:26:23.713Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":["https://github.com/sponsors/fabiospampinato","https://www.paypal.me/fabiospampinato"],"categories":["cli"],"sub_categories":[],"readme":"# Specialist\n\nA library that helps you write tiny, fast and beautiful CLI apps that can automatically check for updates.\n\n## Install\n\n```sh\nnpm install specialist\n```\n\n## Usage\n\nThe following APIs are provided:\n\n```ts\n// It provides the \"bin\" function from \"tiny-bin\"\n// https://github.com/fabiospampinato/tiny-bin\nimport {bin} from 'specialist';\n\n// It provides the basic color functions from \"tiny-colors\"\n// https://github.com/fabiospampinato/tiny-colors\nimport {color} from 'specialist';\n// color.{black, red, green, yellow, blue, magenta, cyan, white, gray}\n// color.{bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite}\n// color.{dim, bold, hidden, italic, underline, strikethrough, reset}\n\n// It provides a basic \"exit\" function, for exiting with visual consistency\n// Exiting with this function will look like how \"tiny-bin\" exits\nimport {exit} from 'specialist';\n\n// It provides the \"parseArgv\" function from \"tiny-parse-argv\"\n// https://github.com/fabiospampinato/tiny-parse-argv\nimport {parseArgv} from 'specialist';\n\n// It provides the \"updater\" function from \"tiny-updater\"\n// https://github.com/fabiospampinato/tiny-updater\nimport {updater} from 'specialist';\n```\n\n## Example\n\nThe following is an example basic CLI app build with Specialist:\n\n```ts\n#!/usr/bin/env node\n\nimport {bin, color} from 'specialist';\n\nbin ( 'my-cli', 'My example cli' )\n  .command ( 'time', 'A command that tells you the time' )\n  .action ( () =\u003e {\n    console.log ( color.cyan ( new Date ().toString () ) );\n  })\n  .run ();\n```\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fspecialist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fspecialist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fspecialist/lists"}