{"id":23138391,"url":"https://github.com/deployable/kknife","last_synced_at":"2025-04-04T09:44:14.548Z","repository":{"id":12519031,"uuid":"15188841","full_name":"deployable/kknife","owner":"deployable","description":"k command shortcuts for Chefs knife","archived":false,"fork":false,"pushed_at":"2015-10-28T07:28:32.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T22:53:08.436Z","etag":null,"topics":["chef","knife","ruby","shortcut"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deployable.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":"2013-12-14T16:42:17.000Z","updated_at":"2016-12-08T04:08:26.000Z","dependencies_parsed_at":"2022-09-18T16:34:46.900Z","dependency_job_id":null,"html_url":"https://github.com/deployable/kknife","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fkknife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fkknife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fkknife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fkknife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deployable","download_url":"https://codeload.github.com/deployable/kknife/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157133,"owners_count":20893210,"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":["chef","knife","ruby","shortcut"],"created_at":"2024-12-17T13:10:49.112Z","updated_at":"2025-04-04T09:44:14.523Z","avatar_url":"https://github.com/deployable.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## kknife 0.1.2\n\n#### Shortcuts for the chef `knife` command\n\nkknife lets you use the shortest substring to uniquely identify a knife sub command. \nkknife also provides a `k` script to launch the lookups\n\n`k n e somenode` = `knife node edit somenode`\n\n`k c u somebook` = `knife cookbook upload somebook`\n\n`k e ff somefile` = `knife environment from_file somefile`\n\n`k -l` lists all your commands\n\n`k -d` might tell you what's going wrong (debug).\n\nAll command line options at the end of the command are passed through to knife unmodified and work as knife specifies. \n\n#### Lookups \n\nShortcuts and ambiguous commands are currently statically defined in `lib/kknife/lookup.rb`. These will be user configurable/overridable. Some form of json/yml blob in ~/.chef/ should do. \n\n##### Shortcuts\n```\n    'ff' =\u003e [ 'from', 'file' ],\n    'db' =\u003e [ 'data', 'bag' ],\n    'cs' =\u003e [ 'cookbook', 'site' ],\n    'bd' =\u003e [ 'bulk', 'delete' ],\n    'ne' =\u003e [ 'node', 'edit' ],\n    'ns' =\u003e [ 'node', 'show' ],\n    'rl' =\u003e [ 'run', 'list' ],\n```\n##### Ambiguities\n```\n    'd' =\u003e ['download'],\n    'e' =\u003e ['environment'],\n    'r' =\u003e ['role'],\n    'c' =\u003e ['cookbook'],\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fkknife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeployable%2Fkknife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fkknife/lists"}