Skip to content

pepabo/onecli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onecli

CLI tool for OneLogin

Description

onecli 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.

Prerequisites

Before using onecli, you need to set the following environment variables:

# Required environment variables
export ONELOGIN_CLIENT_ID="your_client_id"
export ONELOGIN_CLIENT_SECRET="your_client_secret"
export ONELOGIN_SUBDOMAIN="your_subdomain"
export ONELOGIN_TIMEOUT="timeout_in_seconds"  # e.g., "30"

Features

  • OneLogin API integration
  • Command-line interface for OneLogin operations
  • Version management
  • YAML configuration support

Installation

From Source

git clone https://github.com/pepabo/onecli.git
cd onecli
go build

Binary Release

Download the latest release from the releases page.

Usage

# Check version
onecli --version

# Run commands
onecli [command] [options]

Development

Requirements

  • Go 1.24 or later

Building

go build

License

This project is licensed under the terms of the included LICENSE file.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.