Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cuepls: slim down to single format command
For now we are maintaining cmd/cuepls as a separate binary from cmd/cue. In later changes we might merge the former into the latter to create a single entry point for doing all things CUE. Doing so will require quite a lot of open heart surgery on cmd/cuepls, to adapt/move away from the existing flag-based approach to commands and subcommands. cmd/cue (as a reminder) uses cobra, and the two are not compatible at least as far as UX is concerned. It also complicates code/flag handling. In order to create a minimal working end-to-end cuepls command with integration tests, we only need a serve command for now. Therefore remove all other commands to limit the surface area of cmd/cuepls exposed. For #142 Signed-off-by: Paul Jolly <[email protected]> Change-Id: Ic6e6d933a12d43a1fee69a7505eaaf23870a453f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1174169 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information