{"id":18465574,"url":"https://github.com/numtide/action-cli","last_synced_at":"2025-04-08T08:31:55.549Z","repository":{"id":65161163,"uuid":"244609102","full_name":"numtide/action-cli","owner":"numtide","description":"GitHub Actions without JavaScript","archived":false,"fork":false,"pushed_at":"2024-07-26T09:34:21.000Z","size":52,"stargazers_count":19,"open_issues_count":4,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-02T23:55:51.075Z","etag":null,"topics":["command-line","github-actions","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/numtide.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":"2020-03-03T10:39:21.000Z","updated_at":"2025-02-01T18:56:50.000Z","dependencies_parsed_at":"2023-02-17T19:40:17.108Z","dependency_job_id":null,"html_url":"https://github.com/numtide/action-cli","commit_stats":{"total_commits":35,"total_committers":2,"mean_commits":17.5,"dds":0.1428571428571429,"last_synced_commit":"8a5131da1d8e954d83bf717c9e886906fb1e31fb"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Faction-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Faction-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Faction-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtide%2Faction-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtide","download_url":"https://codeload.github.com/numtide/action-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804591,"owners_count":20999017,"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":["command-line","github-actions","rust-lang"],"created_at":"2024-11-06T09:13:35.004Z","updated_at":"2025-04-08T08:31:55.255Z","avatar_url":"https://github.com/numtide.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-cli - GitHub actions without JavaScript\n\nSome weird people (like me) enjoy writing Bash more than JavaScript.\n\nThis little tool wraps common tasks that one would do with GitHub Actions and\nis currently only supported by https://github.com/actions/toolkit/\n\nThis first version wraps all of the logging commands from\nhttps://help.github.com/en/actions/reference/development-tools-for-github-actions#logging-commands\n\n## Installation\n\naction-cli can easily be installed in a pipeline and only adds ~1s to it:\n\n```yaml\nname: 'action-cli'\non: [\"push\"]\njobs:\n  self-test:\n    name: Self test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: numtide/action-cli@v0.7.0\n      - run: action-cli warning --file Cargo.toml --line 2 --col 2 \"Ooops\"\n```\n\n## Usage\n\nHere are all the commands available once the CLI is installed:\n\n`$ action-cli --help`\n```\naction-cli 0.7.0\n\nUSAGE:\n    action-cli \u003cSUBCOMMAND\u003e\n\nFLAGS:\n    -h, --help       \n            Prints help information\n\n    -V, --version    \n            Prints version information\n\n\nSUBCOMMANDS:\n    add-mask         Mask a value in log\n    add-path         Add a system path\n    debug            Set a debug message\n    end-group        End an output group\n    error            Set an error message\n    export           Like set-env but exports an existing environment variable\n    get-input        Gets the value of an input. The value is also trimmed\n    get-state        Gets the value of an state set by this action's main execution\n    help             Prints this message or the help of the given subcommand(s)\n    is-debug         Gets whether Actions Step Debug is on or not\n    issue-command    The generic version of the other commands\n    post-comment     Creating comment based on issues and pull requests\n    save-state       Saves state for current action, the state can only be retrieved by this action's post job\n                     execution\n    set-env          Set and environment variable for future actions in the job\n    set-output       Set an output parameter\n    start-group      Begin an output group\n    stop-commands    Stop and start log commands\n    warning          Set a warning message\n```\n\n## License\n\nThis work is licensed under the Apache License 2.0.\nSee [LICENSE](LICENSE) for more details.\n\n## Sponsors\n\nThis work has been sponsored by [NumTide](https://numtide.com).\n\n[![NumTide](https://avatars3.githubusercontent.com/u/20373834?s=200\u0026v=4)](https://numtide.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Faction-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtide%2Faction-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtide%2Faction-cli/lists"}