(invoke task & args)
executes the task, given functions and parameters
(def world nil)
(invoke (task/task :namespace "ns-interns" ns-interns)) => {'world #'hara.function.task.process-test/world}
executes the task, given functions and parameters (def world nil) (invoke (task/task :namespace "ns-interns" ns-interns)) => {'world #'hara.function.task.process-test/world}
(main-function func count)
creates a main function to be used for execution
(main-function ns-aliases 1) => (contains [arg/vargs? false])
(main-function ns-unmap 1) => (contains [arg/vargs? true])
creates a main function to be used for execution (main-function ns-aliases 1) => (contains [arg/vargs? false]) (main-function ns-unmap 1) => (contains [arg/vargs? true])
(select-inputs task lookup env input)
selects inputs based on matches
(select-inputs {:item {:list (fn [_ _] ['hara.test 'spirit.common])}} {} {} ['hara]) => ['hara.test]
selects inputs based on matches (select-inputs {:item {:list (fn [_ _] ['hara.test 'spirit.common])}} {} {} ['hara]) => ['hara.test]
(select-match sel input)
returns true if selector matches with input
(select-match 'hara 'hara.test) => true
(select-match 'hara 'spirit.common) => false
returns true if selector matches with input (select-match 'hara 'hara.test) => true (select-match 'hara 'spirit.common) => false
(task-inputs task)
(task-inputs task input)
(task-inputs task input params)
(task-inputs task input params env)
(task-inputs task input params lookup env)
constructs inputs to the task given a set of parameters
(task-inputs (task/task :namespace "ns-interns" ns-interns) 'hara.function.task) => '[hara.function.task {} {} {}]
(task-inputs (task/task :namespace "ns-interns" ns-interns) {:bulk true}) => '[hara.function.task.process-test {:bulk true} {} {}]
constructs inputs to the task given a set of parameters (task-inputs (task/task :namespace "ns-interns" ns-interns) 'hara.function.task) => '[hara.function.task {} {} {}] (task-inputs (task/task :namespace "ns-interns" ns-interns) {:bulk true}) => '[hara.function.task.process-test {:bulk true} {} {}]
(wrap-execute f task)
enables execution of task with transformations
enables execution of task with transformations
(wrap-input f task)
enables execution of task with single or multiple inputs
enables execution of task with single or multiple inputs
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close