function commands() {
  return getShortIndex().then((idx) => {
    return Object.keys(idx).sort();
  });
}
// Return all commands available in the local cache.
Return all commands available in the local cache.
Return all commands available in the local cache .
function commands() {
  return getShortIndex().then((idx) => {
    return Object.keys(idx).sort();
  });
}
function commands ( ) { return getShortIndex ( ) . then ( ( idx ) => { return Object . keys ( idx ) . sort ( ) ; } ) ; }
Return all commands available in the local cache.
Return all commands available in the local cache .