add base cli trigger. tests and fixes coming next