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.43.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.42.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.41.1 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.41.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.40.5 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.40.4 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.40.3 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.40.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.39.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.38.1 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.38.0 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.16 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.15 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.14 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.13 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.12 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.11 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.10 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.9 share/rbbt_commands/conf/web_user/remove
rbbt-util-5.37.8 share/rbbt_commands/conf/web_user/remove