Add initial support for 'avail' command.