firebase / firebase/firebase-tools
Accept --only option with firebase hosting:channel:create
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
I love the new preview channels and I would like to use every commands when having multiple sites.
### Actual behavior
- Working
- Run `firebase hosting:channel:deploy target1-channel1`
- Run `firebase hosting:channel:deploy target2-channel1 --only target2`
- Run `firebase hosting:channel:create target1-channel2`
- Run `firebase hosting:channel:list`
- Only list channels on the default hosting
- Run `firebase hosting:channel:open target1-channel1`
- Not working
- Run `firebase hosting:channel:create target2-channel2 --only target2`
- Gives `error: unknown option '--only'`
- Run `firebase hosting:channel:list --only target2`
- Gives `error: unknown option '--only'`
- Run `firebase hosting:channel:open target2-channel1`
- Gives `Error: Could not find the channel target2-channel1 for site target1.`
- Run `firebase hosting:channel:open target2-channel1 --only target2`
- Gives `error: unknown option '--only'`
Contributor guide
Assessment
This issue has not been assessed yet.