{"id":22672164,"url":"https://github.com/jimlynchcodes/jims-derp-cli","last_synced_at":"2025-03-29T11:24:25.366Z","repository":{"id":44213660,"uuid":"230835692","full_name":"JimLynchCodes/jims-derp-cli","owner":"JimLynchCodes","description":"A public npm package that prints \"derp\" to the console.","archived":false,"fork":false,"pushed_at":"2022-12-30T19:23:34.000Z","size":2140,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T10:16:41.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JimLynchCodes.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}},"created_at":"2019-12-30T02:48:03.000Z","updated_at":"2020-01-08T05:35:26.000Z","dependencies_parsed_at":"2023-01-31T14:16:12.637Z","dependency_job_id":null,"html_url":"https://github.com/JimLynchCodes/jims-derp-cli","commit_stats":null,"previous_names":["jimtheman/derp-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fjims-derp-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fjims-derp-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fjims-derp-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JimLynchCodes%2Fjims-derp-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JimLynchCodes","download_url":"https://codeload.github.com/JimLynchCodes/jims-derp-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246176051,"owners_count":20735685,"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-09T16:18:11.453Z","updated_at":"2025-03-29T11:24:25.307Z","avatar_url":"https://github.com/JimLynchCodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jim's Derp CLI\nA cute little command line tool that prints \"derp\" to the console.\n\n# Usage\nPlease use node version `8.16.0` or later.\n\nFirst, install the derp cli globally:\n```\nnpm i -g jims-derp-cli\n```\n\nThen just run it:\n```\njims-derp-cli\n```\n\n# Optional Flags\nAny one of these flags or their aliases may be added to get a more interesting output...\n\n`--politely, -p` - Prints derp politely.\n\n`--forcefully, -f` - Prints derp forcefully.\n\n`--very-forcefully, -e` - Prints derp very forcefully.\n\n`--extremely-forcefully, -x` - Prints derp extremely forcefully.\n\n\nThese basic options are also supported:\n\n`--version, -v` - Show version number.\n\n`--help` - Show help\n\n\nFor example:\n```\njims-derp-cli -p\n```\n\n# Key Takeaways For Making Your Own CLI\n\n- Add \"bin\" to your package.json:\n```\n \"bin\": {\n    \"jims-derp-cli\": \"./bin/index.js\"\n  },\n```\n\n- Make it a \"default command\" with the [$0 argument](https://github.com/JimLynchCodes/jims-derp-cli/blob/master/bin/index.js#L39) in the yargs library:\n```\n.command('$0', 'Prints \"derp\" to the console.', () =\u003e { }, (argv) =\u003e {\n```\n\n- Shows how to add aliases for your custom commands and for the yargs builtin `--version` ([here](https://github.com/JimLynchCodes/jims-derp-cli/blob/master/bin/index.js#L6_L37)).\n\n\n- Publish your own npm packages with:\n```\nnpm publish\n```\n\n\n# Enjoy!\nHopefully this helps you somehow! 🙏\n\nMuch thanks and best regards,\n\n[Jim](https://github.com/JimLynchCodes)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Fjims-derp-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimlynchcodes%2Fjims-derp-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimlynchcodes%2Fjims-derp-cli/lists"}