Tunable Weyl and Dirac states in the nonsymmorphic compound CeSbTe