Sha256: 7290aa729be170211a7310e5719c0d4c53d76fd0eeafebda9b737a6e9daa5afa

Contents?: true

Size: 283 Bytes

Versions: 912

Compression:

Stored size: 283 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt'
require 'highline/import'

if Rbbt.etc.web_users.exists?
  web_users = Rbbt.etc.web_users.yaml
else
  web_users = {}
end

user = ARGV.shift

raise "No user provided" if user.nil?

web_users.delete user

Rbbt.etc.web_users.write(web_users.to_yaml)

Version data entries

912 entries across 912 versions & 1 rubygems

Version Path
rbbt-util-5.5.61 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.60 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.59 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.58 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.57 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.56 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.55 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.54 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.53 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.52 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.51 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.50 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.49 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.48 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.47 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.46 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.45 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.44 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.43 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.5.42 share/rbbt_commands/conf/web_user/remove