Update command line app to use new item API