{"id":13453398,"url":"https://github.com/hexlant/cleos-auto-completion","last_synced_at":"2025-03-24T01:31:23.101Z","repository":{"id":215204033,"uuid":"140368890","full_name":"Hexlant/cleos-auto-completion","owner":"Hexlant","description":"Command auto-completion for EOS cleos.","archived":false,"fork":false,"pushed_at":"2019-12-15T13:20:01.000Z","size":257,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-01-25T05:11:17.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Hexlant.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}},"created_at":"2018-07-10T02:55:37.000Z","updated_at":"2024-04-15T06:30:30.159Z","dependencies_parsed_at":"2024-01-05T02:06:09.108Z","dependency_job_id":null,"html_url":"https://github.com/Hexlant/cleos-auto-completion","commit_stats":null,"previous_names":["hexlant/cleos-auto-completion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexlant%2Fcleos-auto-completion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexlant%2Fcleos-auto-completion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexlant%2Fcleos-auto-completion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexlant%2Fcleos-auto-completion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hexlant","download_url":"https://codeload.github.com/Hexlant/cleos-auto-completion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245194218,"owners_count":20575725,"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-07-31T08:00:39.399Z","updated_at":"2025-03-24T01:31:23.078Z","avatar_url":"https://github.com/Hexlant.png","language":"Shell","funding_links":[],"categories":["Tools","Developers"],"sub_categories":["Other in Developers"],"readme":"# cleos-auto-completion\n\n\u003cimg src=\"usage.gif\"\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n* UPDATED TO EOSIO v1.8.6\n* UPDATED TO EOSIO v1.7.0 (REX support)\n\nBecause of the limit of CLI11(commandline parser for c++) used by cleos, currently cleos do not provide command auto-complete functionality.\nWith this project, you can use command auto-completion feature to your cleos. Also, you can use this for your custom cleos shell files with simple changes(which is described below).\n\nFor now, We support BASH and ZSH (see below). But others will be supported soon.\n\u003cbr/\u003e\u003cbr/\u003e\n\n\n## Installation (BASH)\nJust clone this repo and append source command line inside of your environment file. To make it work immediately, execute source command or restart your bash shell.\n```bash\n$ git clone https://github.com/Hexlant/cleos-auto-completion.git\n$ cd cleos-auto-completion\n$ echo \"source $(pwd)/cleos.bash\" \u003e\u003e ~/.bashrc\n```\n\nfor immediate working..\n```bash\n$ source $(pwd)/cleos.bash\n```\n\u003cbr/\u003e\u003cbr/\u003e\n\n## Installation (ZSH)\nFor zsh, we can use bashcompinit which can use bash-completion features in your zsh. Clone this repo and append command lines inside of your environment file.\n\nedit .zshrc to use bashcompinit\n```zsh\n(Append below lines in your '.zshrc')\nautoload bashcompinit\nbashcompinit\n```\n\nclone repo\n```zsh\n$ git clone https://github.com/Hexlant/cleos-auto-completion.git\n$ cd cleos-auto-completion\n$ echo \"source $(pwd)/cleos.bash\" \u003e\u003e ~/.zshrc\n```\n\nfinally, your .zshrc will be similar to the following.\n```zsh\n(...)\nautoload bashcompinit\nbashcompinit\nsource /home/sam/cleos-auto-completion/cleos.bash\n```\n\nfor immediate working..\n```bash\n$ source $(pwd)/cleos.bash\n```\n\n\n## Customization\n### for custom cleos shell files\nIf you're using your own cloes shell file, add your file names at $CLEOS_TARGET_NAME before installation step. You can find this at line 10.\n```bash\n(BEFORE)\nCLEOS_TARGET_NAME=(cleos)\n\n(AFTER)\nCLEOS_TARGET_NAME=(./cleos_local.sh ./cleos_mainnet.sh)\n```\n\u003cbr/\u003e\u003cbr/\u003e\n\n\n## Contribution\nWe always welcome contributions. Feel free to make pull request or report issues! :) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlant%2Fcleos-auto-completion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexlant%2Fcleos-auto-completion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlant%2Fcleos-auto-completion/lists"}