Sha256: 236441f4835317d559fcf87c279875aca9513b68b16f6dd772d45008b9e87e7a
Contents?: true
Size: 311 Bytes
Versions: 38
Compression:
Stored size: 311 Bytes
Contents
#!/usr/bin/env ruby begin require 'aptible/cli' rescue require 'rubygems' require 'aptible/cli' end begin Aptible::CLI::Agent.start rescue HyperResource::ClientError => e if e.body['error'] == 'invalid_token' STDERR.puts 'API authentication error: please run aptible login' exit 1 end end
Version data entries
38 entries across 38 versions & 1 rubygems