shell.hpp 566 B

12345678910111213141516171819202122232425262728
  1. // Copyright (c) 2019, QuantStack and Mamba Contributors
  2. //
  3. // Distributed under the terms of the BSD 3-Clause License.
  4. //
  5. // The full license is in the file LICENSE, distributed with this software.
  6. #ifndef MAMBA_API_SHELL_HPP
  7. #define MAMBA_API_SHELL_HPP
  8. #include <string>
  9. #include <vector>
  10. #include "mamba/core/mamba_fs.hpp"
  11. namespace mamba
  12. {
  13. void detect_shell(std::string& shell_type);
  14. void shell(
  15. const std::string& action,
  16. std::string& shell_type,
  17. const std::string& prefix = "",
  18. bool stack = false
  19. );
  20. }
  21. #endif