change subcommand name "set" to "affinity"
support authorization