Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Araute CLI

Small local-development CLI for testing Araute payments.

Setup

Build the local SDK and install CLI dependencies:

cd ../sdks/ts && bun install && bun run build
cd ../../cli && bun install

Set an API key:

export ARAUTE_API_KEY=sk_test_...

Commands

Create a test payment:

bun run dev payment create --amount 1000 --method pix

Confirm it:

bun run dev payment confirm pi_... --method pix

Inspect its current state:

bun run dev payment get pi_...

Amounts are expressed in the smallest currency unit: 1000 means R$10.00.

Architecture

The CLI uses Commander for command parsing and generated help. Command definitions live under src/cli/commands, payment orchestration lives under src/application, and integration with @araute/sdk lives under src/infra.

The CLI is deliberately a thin developer tool around the SDK. It does not duplicate API resources, HTTP authentication, or webhook endpoint management.

About

Thin local CLI for Araute. Test payments without leaving the terminal.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages