Module: Sym

Included in:
App::Commands::BaseCommand, App::Commands::EncryptDecrypt, App::Commands::OpenEditor, App::PrivateKey::Decryptor, App::PrivateKey::Handler, EncryptedFile
Defined in:
lib/sym.rb,
lib/sym/app.rb,
lib/sym/data.rb,
lib/sym/errors.rb,
lib/sym/app/cli.rb,
lib/sym/version.rb,
lib/sym/app/args.rb,
lib/sym/app/output.rb,
lib/sym/application.rb,
lib/sym/app/commands.rb,
lib/sym/app/keychain.rb,
lib/sym/data/decoder.rb,
lib/sym/data/encoder.rb,
lib/sym/configuration.rb,
lib/sym/app/short_name.rb,
lib/sym/cipher_handler.rb,
lib/sym/encrypted_file.rb,
lib/sym/app/output/base.rb,
lib/sym/app/output/file.rb,
lib/sym/app/output/noop.rb,
lib/sym/app/input/handler.rb,
lib/sym/app/output/stdout.rb,
lib/sym/app/password/cache.rb,
lib/sym/data/wrapper_struct.rb,
lib/sym/app/commands/print_key.rb,
lib/sym/app/commands/show_help.rb,
lib/sym/app/private_key/handler.rb,
lib/sym/app/commands/open_editor.rb,
lib/sym/app/private_key/detector.rb,
lib/sym/extensions/class_methods.rb,
lib/sym/app/commands/base_command.rb,
lib/sym/app/commands/generate_key.rb,
lib/sym/app/commands/show_version.rb,
lib/sym/app/private_key/decryptor.rb,
lib/sym/app/commands/show_examples.rb,
lib/sym/extensions/instance_methods.rb,
lib/sym/app/commands/bash_completion.rb,
lib/sym/app/commands/encrypt_decrypt.rb,
lib/sym/app/commands/keychain_add_key.rb,
lib/sym/app/private_key/base64_decoder.rb,
lib/sym/app/commands/password_protect_key.rb

Defined Under Namespace

Modules: App, CipherHandler, Data, Errors, Extensions Classes: Application, Configuration, EncryptedFile

Constant Summary collapse

COMPLETION_FILE =
'.sym.completion'
COMPLETION_PATH =
"#{ENV['HOME']}/#{COMPLETION_FILE}"
BASH_COMPLETION =
{
  file:   File.expand_path('../../bin/sym.completion', __FILE__),
  script: "[[ -f '#{COMPLETION_PATH}' ]] && source '#{COMPLETION_PATH}'",
}
VERSION =
'2.1.0'