{"id":46231969,"url":"https://github.com/pepabo/onecli","last_synced_at":"2026-03-03T18:07:18.499Z","repository":{"id":287839120,"uuid":"965940437","full_name":"pepabo/onecli","owner":"pepabo","description":"CLI tool for OneLogin","archived":false,"fork":false,"pushed_at":"2025-12-18T02:44:00.000Z","size":129,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-12-21T12:45:36.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/pepabo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T06:43:27.000Z","updated_at":"2025-12-18T02:44:04.000Z","dependencies_parsed_at":"2025-04-14T08:36:11.524Z","dependency_job_id":"ae6ad030-6305-4599-8da0-a68e1bf41a28","html_url":"https://github.com/pepabo/onecli","commit_stats":null,"previous_names":["pepabo/onecli"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pepabo/onecli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fonecli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fonecli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fonecli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fonecli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepabo","download_url":"https://codeload.github.com/pepabo/onecli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fonecli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30054068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T17:46:22.538Z","status":"ssl_error","status_checked_at":"2026-03-03T17:46:22.036Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-03-03T18:07:17.831Z","updated_at":"2026-03-03T18:07:18.489Z","avatar_url":"https://github.com/pepabo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# onecli\n\nA CLI tool for interacting with OneLogin API\n\n## Description\n\nonecli is a command-line interface tool for interacting with OneLogin services. It provides a convenient way to manage and automate OneLogin-related tasks from the terminal.\n\n## Prerequisites\n\nBefore using onecli, you need to set the following environment variables:\n\n```bash\n# Required environment variables\nexport ONELOGIN_CLIENT_ID=\"your_client_id\"\nexport ONELOGIN_CLIENT_SECRET=\"your_client_secret\"\nexport ONELOGIN_SUBDOMAIN=\"your_subdomain\"\nexport ONELOGIN_TIMEOUT=\"timeout_in_seconds\"  # e.g., \"30\"\n```\n\n## Features\n\n- OneLogin API integration\n- Command-line interface for OneLogin operations\n- Version management\n- YAML configuration support\n\n## Installation\n\n### From Source\n\n```bash\ngit clone https://github.com/pepabo/onecli.git\ncd onecli\ngo build\n```\n\n### Binary Release\n\nDownload the latest release from the [releases page](https://github.com/pepabo/onecli/releases).\n\n## Usage\n\n### User Management\n\n```bash\n# List all users\nonecli user list\n\n# List users with filters\nonecli user list --email user@example.com\nonecli user list --username username\nonecli user list --firstname John\nonecli user list --lastname Doe\nonecli user list --user-id 123\n\n# Add a new user\nonecli user add \"John\" \"Doe\" \"john.doe@example.com\"\n\n# Modify user email\nonecli user modify email \"newemail@example.com\" --email \"oldemail@example.com\"\n```\n\n### App Management\n\n```bash\n# List all apps\nonecli app list\n\n# List apps with user details\nonecli app list --details\n```\n\n### Event Management\n\n```bash\n# List all events\nonecli event list\n\n# List events with filters\nonecli event list --event-type-id 1\nonecli event list --user-id 123\nonecli event list --since 2023-01-01\nonecli event list --until 2023-12-31\n\n# List all event types\nonecli event types\n\n# List event types in JSON format\nonecli event types --output json\n```\n\n## Output Formats\n\nAll list commands support multiple output formats:\n\n- `yaml` (default)\n- `json`\n- `csv`\n\nExample:\n```bash\nonecli user list --output json\nonecli user list --output csv\n```\n\n## Configuration\n\nSet the following environment variables:\n\n- `ONELOGIN_CLIENT_ID`: Your OneLogin client ID\n- `ONELOGIN_CLIENT_SECRET`: Your OneLogin client secret\n- `ONELOGIN_SUBDOMAIN`: Your OneLogin subdomain\n\n## Development\n\n### Requirements\n\n- Go 1.24 or later\n\n### Building\n\n```bash\ngo build\n```\n\n### Running Tests\n\n```bash\n# Run tests\ngo test ./...\n\n# Run specific tests\ngo test ./onelogin -v -run TestGetEventTypes\n```\n\n## License\n\nThis project is licensed under the terms of the included LICENSE file.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Fonecli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepabo%2Fonecli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Fonecli/lists"}