Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
aptible-cli (0.26.8)
aptible-cli (0.26.9)
activesupport (>= 4.0, < 6.0)
aptible-api (~> 1.12)
aptible-auth (~> 1.4)
Expand Down Expand Up @@ -35,7 +35,7 @@ GEM
tzinfo (~> 1.1)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
aptible-api (1.12.2)
aptible-api (1.12.3)
aptible-auth
aptible-resource
gem_config
Expand Down Expand Up @@ -71,7 +71,7 @@ GEM
aws-sigv4 (1.2.4)
aws-eventstream (~> 1, >= 1.0.2)
bigdecimal (1.3.5)
cbor (0.5.10.1)
cbor (0.5.10.3)
chronic_duration (0.10.6)
numerizer (~> 0.1.1)
climate_control (0.0.3)
Expand Down Expand Up @@ -150,9 +150,9 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.13.0)
snaky_hash (2.0.3)
snaky_hash (2.0.7)
hashie (>= 0.1.0, < 6)
version_gem (>= 1.1.8, < 3)
version_gem (~> 1.1, >= 1.1.14)
stripe (4.24.0)
faraday (~> 0.13)
net-http-persistent (~> 3.0)
Expand All @@ -168,7 +168,7 @@ GEM
thread_safe (~> 0.1)
unicode-display_width (1.8.0)
uri_template (0.7.0)
version_gem (1.1.9)
version_gem (1.1.15)
webmock (3.16.2)
addressable (>= 2.8.0)
crack (>= 0.3.2)
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ If you need to parse the output in another program, set the `APTIBLE_OUTPUT_FORM

The default format is `text`.

### Telemetry

The Aptible CLI reports anonymous usage telemetry to help improve the product. To opt out, set the `APTIBLE_DISABLE_TELEMETRY` environment variable to any non-empty value:

```bash
export APTIBLE_DISABLE_TELEMETRY=1
```

## Contributing

1. Fork the project.
Expand Down
2 changes: 2 additions & 0 deletions lib/aptible/cli/helpers/telemetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module CLI
module Helpers
module Telemetry
def telemetry(cmd, options = {})
return if ENV['APTIBLE_DISABLE_TELEMETRY']

token_hash = decode_token
format = Renderer.format
format = 'text' if format.nil?
Expand Down
2 changes: 1 addition & 1 deletion lib/aptible/cli/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Aptible
module CLI
VERSION = '0.26.8'.freeze
VERSION = '0.26.9'.freeze
end
end
Loading