This adds just a bit of logic in the cli.js to be a little more helpful in finding the bundle.
Without this change, users need to specify the -s option with the trailing apiproxy directory, or the trailing sharedflowbundle directory. WITH this change, the cli will still accept a parent directory if there is exactly one apiproxy subdir, or one sharedflowbundle subdir.
This adds just a bit of logic in the cli.js to be a little more helpful in finding the bundle.
Without this change, users need to specify the
-s
option with the trailingapiproxy
directory, or the trailingsharedflowbundle
directory. WITH this change, the cli will still accept a parent directory if there is exactly one apiproxy subdir, or one sharedflowbundle subdir.