#!/usr/bin/env python """ Script that emulates the behaviour of a shell to edit the CS config. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function __RCSID__ = "45ddde113 (2021-10-01 11:19:55 +0200) Chris Burr " import sys from DIRAC.Core.Utilities.DIRACScript import DIRACScript as Script # Invariants: # * root does not end with "/" or root is "/" # * root starts with "/" @Script() def main(): Script.parseCommandLine() from DIRAC.ConfigurationSystem.Client.CSShellCLI import CSShellCLI shell = CSShellCLI() shell.cmdloop() if __name__ == "__main__": main()